Skip to content

Commit

Permalink
fixes config comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrubagu committed Mar 29, 2022
1 parent c8870a9 commit 8f22c4f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ config :blog, Blog.Cache,
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
```

Expand All @@ -107,7 +107,7 @@ config :blog, Blog.Cache,
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
```

Expand Down Expand Up @@ -531,7 +531,7 @@ config :blog, Blog.PartitionedCache,
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
]
```
Expand Down
4 changes: 2 additions & 2 deletions lib/mix/tasks/nbx.gen.cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ defmodule Mix.Tasks.Nbx.Gen.Cache do
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
""")

Expand All @@ -206,7 +206,7 @@ defmodule Mix.Tasks.Nbx.Gen.Cache do
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
]
""")
Expand Down
6 changes: 3 additions & 3 deletions test/mix/tasks/nbx.gen.cache_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule Mix.Tasks.Nbx.Gen.CacheTest do
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
""")
end)
Expand Down Expand Up @@ -125,7 +125,7 @@ defmodule Mix.Tasks.Nbx.Gen.CacheTest do
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
]
""")
Expand Down Expand Up @@ -162,7 +162,7 @@ defmodule Mix.Tasks.Nbx.Gen.CacheTest do
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC min timeout: 10 min
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
]
""")
Expand Down

0 comments on commit 8f22c4f

Please sign in to comment.