Skip to content

Conversation

zyzyva
Copy link
Owner

@zyzyva zyzyva commented Feb 19, 2025

No description provided.

commit 07faf80e1973d64c28ceb479b56a037e0aac0491
Author: Your Name <[email protected]>
Date:   Wed Nov 11 10:15:27 2020 -0500

    Update README.md

diff --git a/README.md b/README.md
index e4e39a8..61b9d0c 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1 @@
-This is a simple README file
+This is an updated README file
```
```
commit c75dd3f9a0d2846b293f0a229e80ef8f89cce2a1
Author: Your Name <[email protected]>
Date:   Wed Nov 11 10:20:57 2020 -0500

    Add feature to the application

diff --git a/app.js b/app.js
new file mode 100644
index 0000000..b39f8c2
--- /dev/null
+++ b/app.js
@@ -0,0 +1 @@
+console.log("This is a new feature");
```
"Update configuration for dev environment"

* Remove unused config `four_hours` and `one_day` from `config/dev.exs`
* Add new config `cache_ttl: one_day` to `config/runtime.exs`
* Update existing config `cache_ttl_long: one_day` in `config/runtime.exs`

Note that this message does not include any details about the specific changes made to the configuration files, as it was based on the provided diff and does not require any additional explanation.
"Update configuration for blog app"

* `cache_ttl` from 4 hours (variable = actual value) -> 1 day (variable = actual value) in config.exs
* `cache_ttl_long` from 1 day (variable = actual value) -> 24 hours (variable = actual value) in config.exs
* Added `four_hours` variable with actual value of 4 * 60 * 60 * 1000 in runtime.exs
* Added `one_day` variable with actual value of 24 * 60 * 60 * 1000 in runtime.exs
…ation files. Here are the changes in each file:

* `config/config.exs`:
	+ Changed the value of `:blog, cache_ttl` from 4 hours (represented by `(4 * 60 * 60 * 1000)`) to one day (represented by `(24 * 60 * 60 * 1000)`).
	+ Removed the line `four_hours = (4 * 60 * 60 * 1000)`.
* `config/dev.exs`:
	+ Added new lines to define variables for four hours and one day: `four_hours = (4 * 60 * 60 * 1000)` and `one_day = (24 * 60 * 60 * 1000)`.
	+ Changed the value of `:blog, cache_ttl` from one day to four hours.
	+ Removed the line `config :blog, cache_ttl: one_day`.
	+ Added a new line `config :blog, cache_ttl_long: one_day`.
* Move blog.cache_ttl from dev.exs to config.exs, changing value from
  one_day (24 hours) to four_hours (4 hours)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant