| |
|
|
|
|
|
|
|
|
|
| |
AppState::mutate_doc, mutate_doc_registering and mutate_doc_by hand what
they are given a document::view::Write: the member registry, the users,
sessions, forgetting and bootstrap write through them, and take whatever
kind of document gives it. AppState::mutate_doc_for is for what asks
more of an Automerge document than values at paths (the store's API, a
remake's host, a store's events), and gives the heads after the write.
What reads a view takes one of any size (dyn Write among them).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ASK_FOR (20 s), REFUSED_FOR (60 s), ONE_SHORT_EVERY (300 s) and
REAFFIRM_EVERY (60 s) were fixed: the simulations, on a 250 ms
keepalive, sat them out in real time, and simtest::hyparview's two took
a minute each, most of cargo sim's.
Now Timing has them (ask_for, refused_for, one_short_every,
reaffirm_every): twice the first sync reply timeout, one keepalive
interval, five, and one. At the defaults (1m, 10 s) they are what they
were; with another --keepalive they scale with it, as the keepalives
they answer to do. The two simulations take 3 s.
|