Handbook
Glossary
start-expiring ( db -- )
Furnace framework
ยป
Furnace alloy responder
Prev:
init-furnace-tables ( -- )
Vocabulary
furnace
.
alloy
Inputs
db
a database descriptor
Outputs
None
Word description
Starts a timer which expires old session state from the given database.
Definition
USING:
calendar
db
furnace.cache
kernel
sequences
timers
;
IN:
furnace.alloy
:
start-expiring
( db -- )
[
[
state-classes
[
expire-state
]
each
]
with-db
]
curry
5
minutes
every
drop
;