diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-03-16 15:59:09 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-03-16 15:59:09 -0400 |
commit | 4bae99e227c97ef0659b286717994a8bbddebc3b (patch) | |
tree | 2641b6f44a29d61338c6745121326a815be455e5 | |
parent | 50c1520ef5e29023f2e841efd6970404083a66fa (diff) | |
download | getwtxt-4bae99e227c97ef0659b286717994a8bbddebc3b.tar.gz |
another source of duplicated statuses fixed v0.4.12
when changing config options, the database would be closed, then reopened, then the data would be pulled into memory. this caused duplicate status entries to form in the registry.
-rw-r--r-- | svc/periodic.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svc/periodic.go b/svc/periodic.go index 0a07371..c8b918b 100644 --- a/svc/periodic.go +++ b/svc/periodic.go @@ -96,12 +96,8 @@ func reInit(e fsnotify.Event) { } killTickers() - killDB() - bindConfig() - initLogging() - initDatabase() initPersistence() } |