Commit Graph

9 Commits

Author SHA1 Message Date
b22e515a71 feature/freebsd-support-one: main freebsd adjustments 2023-10-24 03:31:54 -07:00
e7faa0f813 WSConnection improvements: better destruction, logging 2023-09-05 23:41:07 -04:00
42fe1f16ca WSConnection clean shutdown, fix hubTrigger ownership (it's deleted by the event loop) 2023-08-16 13:38:13 -04:00
ca0449286c Stop WSConnection from calling ::exit(), so that the sync command can flush its writes first
This fixes a rare race condition that caused a segfault on exit:

We call ::exit() which runs the atexit handler, which destroys the LMDB environment. However, there was another thread running that still had pending events to write, so as the environment was being destroyed, it tried to use the environment to write the events.
2023-07-26 20:24:55 -04:00
a3b4e7baf5 frame size limit for negentropy syncs 2023-06-11 23:44:33 -04:00
70c0edc350 minor clean-ups 2023-04-29 14:38:24 -04:00
2308276af5 patching writePolicy into cmd_stream, assuming we
want writePolicy to govern both relayIngest and stream

I really hate spam, is what I'm trying to say.
2023-03-27 18:24:41 -05:00
428f51528b bugfixes in sync 2023-01-20 12:31:47 -05:00
c47d07e985 initial commit 2023-01-09 15:33:52 -05:00