mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
ames: bump recork timer back up to a day
We had lowered this initially for easier testing, but a day should be sufficient for real-world use.
This commit is contained in:
parent
e2d546c4c2
commit
0871c24e24
@ -1061,7 +1061,7 @@
|
||||
=^ moz u.cached-state
|
||||
?. ?=(%7 -.u.cached-state) [~ u.cached-state]
|
||||
~> %slog.0^leaf/"ames: init daily recork timer"
|
||||
:- [[/ames]~ %pass /recork %b %wait `@da`(add now ~m20)]~
|
||||
:- [[/ames]~ %pass /recork %b %wait `@da`(add now ~d1)]~
|
||||
8+(state-7-to-8:load:adult-core +.u.cached-state)
|
||||
?> ?=(%8 -.u.cached-state)
|
||||
=. ames-state.adult-gate +.u.cached-state
|
||||
@ -1827,7 +1827,7 @@
|
||||
abet:(on-wake:(make-peer-core u.state channel) bone.u.res error)
|
||||
::
|
||||
=. event-core
|
||||
(emit duct %pass /recork %b %wait `@da`(add now ~m20))
|
||||
(emit duct %pass /recork %b %wait `@da`(add now ~d1))
|
||||
:: recork up to one bone per peer
|
||||
::
|
||||
=/ pez ~(tap by peers.ames-state)
|
||||
|
Loading…
Reference in New Issue
Block a user