urbit/pkg
Fang b5a9a7d538
vere: move scry api into pier.c, interleave events
Scries were being prioritized over events, in the IPC queue. If scry
requests came in faster than we could process them (as is easily the
case for ames forward requests), this would cause scries to completely
clog the IPC queue, preventing any events from being processed at all.

The short-term solution implemented here is to simply alternate between
scry requests and events when building/sending a work batch.

To accomplish this, we separate scry requests into their own queue. We
keep this in pier.c, and pass them on to lord.c interleaved with regular
events in _pier_work_send.

The interleaving of regular events (as opposed to doing scries with the
highest priority) complicates the situation around auto-filled scry
cases (for scrying at "the latest timestamp").
To ensure we're always scrying at a sane latest timestamp, we keep a
queue of u3_pico, instead of fully-qualified scry requests. Where
necessary, lord.c fills in the missing path elements right before
sending it over the pipe.
2020-08-05 01:24:01 +02:00
..
arvo Merge branch 'master' into release/next-vere 2020-07-23 16:08:09 -07:00
ent Add 'pkg/ent/' from commit '31ac2913f14c6f7631f5792ad942605fb2d9fb87' 2019-03-04 16:49:14 -08:00
ge-additions Pull in latest v0.8.0.rc changes 2019-07-16 15:59:39 -07:00
herb Squashed commit of the following: 2020-06-25 03:25:31 -04:00
hs vere: bumps urbit version to v0.10.8 2020-07-23 18:15:35 -07:00
interface Merge pull request #3135 from finled-bansel/fix-moon-rendering 2020-07-22 12:27:41 -04:00
libaes_siv jets: switch openssl to the loom allocator. 2020-05-29 15:51:53 -07:00
urbit vere: move scry api into pier.c, interleave events 2020-08-05 01:24:01 +02:00