projects
/
candle
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ee77eb5
)
Fix save thread not actually saving, increase to 5 minutes
author
Frank Duncan <frank.d.duncan@gmail.com>
Sat, 18 Dec 2021 18:19:39 +0000
(12:19 -0600)
committer
Frank Duncan <frank.d.duncan@gmail.com>
Sat, 18 Dec 2021 18:19:39 +0000
(12:19 -0600)
src/main/server.lisp
patch
|
blob
|
history
diff --git
a/src/main/server.lisp
b/src/main/server.lisp
index bdf8d77c4e3c31fc27f427581cb64717bf4beb7c..7d7af0b8113767bde967a93be51cf4507b930e04 100644
(file)
--- a/
src/main/server.lisp
+++ b/
src/main/server.lisp
@@
-30,13
+30,13
@@
:while active
:do
(sb-thread:with-mutex (mutex)
- (sb-thread:condition-wait waitq mutex)
))
-
(lame-db:save-known-dbs data-dir
))
+ (sb-thread:condition-wait waitq mutex)
+
(lame-db:save-known-dbs data-dir))
))
:name "Save Thread")))
(sb-thread:make-thread
(lambda ()
(loop
- (sleep (*
1
60))
+ (sleep (*
5
60))
(sb-thread:with-mutex (mutex)
(sb-thread:condition-broadcast waitq))))
:name "Save Thread Trigger")