Skip to content

Commit

Permalink
Disable incorrect implementation of reloading config
Browse files Browse the repository at this point in the history
  • Loading branch information
pityka committed Jun 26, 2024
1 parent e5fcdaa commit 7ebb1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/tasks/util/config/TasksConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TasksConfig(load: () => Config) {

def raw: Config = {
val currentTime = System.nanoTime
if (currentTime - lastLoadedAt.get > maxConfigLoadInterval) {
if (false && currentTime - lastLoadedAt.get > maxConfigLoadInterval) {
scribe.debug("Reload config.")
val current = load()
lastLoaded = current
Expand Down

0 comments on commit 7ebb1d5

Please sign in to comment.