|
4de53b9926
|
core: sqlite checkpoint tweaks. Switch the periodic checkpoint to passive mode. Truncate mode was painful on mobile. I'm seeing it succeed often enough that we don't grow indefinitely. Also fix the print.
|
2025-05-07 18:15:33 -04:00 |
|
|
d9684c7d62
|
ssb: Fix culling feeds again.
|
2025-04-09 22:15:01 -04:00 |
|
|
6f96d4ce65
|
ssb: More different feed culling logic.
|
2025-04-09 20:45:23 -04:00 |
|
|
0bcb033349
|
ssb: This seems like it would explain replication stalls.
|
2025-03-19 06:46:34 -04:00 |
|
|
c50de0b0f0
|
ssb: Testing a theory that message sends are piling up.
|
2025-03-17 12:27:16 -04:00 |
|
|
bb7d2d7ae0
|
ssb: Update ebt received value on the fly.
|
2025-03-16 22:04:06 -04:00 |
|
|
862d172ca8
|
ssb: Pub blobs in the idle queue, too. I'm confused why things aren't moving like I'd expect. This seems more fair.
|
2025-03-16 19:30:35 -04:00 |
|
|
3660577a23
|
ssb: I made blob_wants_view too slow. Let's make a real table updated by triggers.
|
2025-03-12 18:17:11 -04:00 |
|
|
ee33f54745
|
ssb: Don't send EBT clocks that weren't asked for. Fixes more replication-related warnings.
|
2025-03-04 12:19:52 -05:00 |
|
|
a74a9fc821
|
ssb: Clean up some muxrpc-related warnings.
|
2025-03-02 19:43:50 -05:00 |
|
|
bfec46673d
|
ssb: Test an experiment that blobs are getting priority over messages during initial sync.
|
2025-02-22 11:57:57 -05:00 |
|
|
9c9efb845c
|
ssb: Schedule the clock for reevaluation any time new messages are added. I think this will improve initial replication.
|
2025-02-21 22:30:14 -05:00 |
|
|
857f47bf55
|
ssb: Make the invite.use reponse flags match the docs exactly, and add some connection state paranoia.
|
2025-02-15 20:52:39 -05:00 |
|
|
373d742751
|
ssb: The docs show the response to invite.use() wrapped in {key: ..., value: ...}, so do that.
|
2025-02-15 08:19:23 -05:00 |
|
|
575622c522
|
ssb: Did that from the wrong thread.
|
2025-02-13 21:37:40 -05:00 |
|
|
6e5b1127f3
|
ssb: If we don't accept the invite, give up on the connection.
|
2025-02-12 18:08:40 -05:00 |
|
|
dddec489b9
|
ssb: Results of staring at unexpected shs disconnections: wire up tunnel.endpoints and blobs.createWants more correctly/thoroughly. And add slightly more context when deliberately disconnected from the remote side.
|
2025-02-04 21:32:22 -05:00 |
|
|
f824b8988e
|
ssb: Correctness around tunnel.endpoints.
|
2025-01-22 18:03:05 -05:00 |
|
|
0f643bfe39
|
ssb: Complete using an invite, following the pub and posting a pub message. #99
|
2025-01-20 17:47:30 -05:00 |
|
|
3f3deb665c
|
ssb: Add a command-line action to generate an invite, and verified that Patchwork can accept it.
|
2025-01-19 21:00:38 -05:00 |
|
|
97fc22ce57
|
ssb: Test the one message generated from an invite so far.
|
2025-01-19 18:38:26 -05:00 |
|
|
616f3ad76d
|
ssb: Invite support progress. Now the pub accepts the invite, tracks its use, and follows. The client still needs to react.
|
2025-01-19 17:02:08 -05:00 |
|
|
287c6c06e1
|
core: More clean shutdown?
|
2025-01-11 14:48:12 -05:00 |
|
|
02759c6f83
|
ssb: Hint at follow depth with profile image shape. Also, reload follow information the same way we re-determine channel unread status. Let's see if this feels good.
|
2025-01-11 13:48:06 -05:00 |
|
|
e59a00922b
|
ssb: Respond to tunnel.endpoints. Patchwork didn't seem to like that we responded to tunnel.isRoom but not this.
|
2025-01-11 09:23:12 -05:00 |
|
|
d0bbd7f24f
|
ssb: Add a has_blob command. #89
|
2025-01-06 20:46:16 -05:00 |
|
|
aff98110e0
|
ssb: Tidy up some of the more common reasons for disconnect.
|
2025-01-04 21:37:43 -05:00 |
|
|
2328f3afb5
|
ssb: Ease up on excessively re-hitting the database for ebt.replicate even more.
|
2025-01-04 09:58:16 -05:00 |
|
|
2223245861
|
ssb: Maybe ease up on hammering the db for follows.
|
2025-01-03 18:17:54 -05:00 |
|
|
36226b01cd
|
ssb: Manage new message handling from the new EBT code.
|
2025-01-03 17:04:38 -05:00 |
|
|
44d9f69434
|
ssb: Refactoring EBT implementation. I think this works not worse than before and will let me schedule message replication better in a future change. #93
|
2025-01-03 13:59:25 -05:00 |
|
|
3f343b283b
|
ssb: Delete one more redundant global setting accessor.
|
2025-01-03 08:41:13 -05:00 |
|
|
cd2fe9f8d9
|
ssb: Fix a crash on Windows when we would call uv_async_send on a handle that had already been closed. Various other cleanup and improvements along the journey. #96
|
2025-01-02 12:35:58 -05:00 |
|
|
2dd32cdce2
|
ssb: Tweak idle scheduling even more, still. Fixes -t=bench.
|
2024-12-27 15:51:33 -05:00 |
|
|
9cddd93dad
|
ssb: Don't schedule duplicate history stream requests for the same account. Changes how we schedule idle work. Let's see if this is better.
|
2024-12-27 15:02:52 -05:00 |
|
|
4127898655
|
ssb: Avoid more work on shutdown.
|
2024-12-27 14:27:52 -05:00 |
|
|
45d48483d0
|
ssb: Avoid scheduling idle work while shutting down, so that we shut down sooner.
|
2024-12-27 14:03:14 -05:00 |
|
|
7843168fad
|
ssb: Hook up some more disconnect messaging.
|
2024-12-26 20:12:04 -05:00 |
|
|
41e91f2922
|
ssb: Consolidate global settings helpers.
|
2024-12-24 11:16:52 -05:00 |
|
|
2f266b8dd4
|
ssb: Attempt to request more feeds as more contact messages come in. #83
|
2024-12-11 20:26:28 -05:00 |
|
|
76f6a94de5
|
ssb: Fix replication hops usage. Thanks @Cashew.
|
2024-12-10 19:18:01 -05:00 |
|
|
df1e6711af
|
ssb: Add a setting to periodically clean up un-followed feeds. #80
|
2024-11-25 12:53:28 -05:00 |
|
|
f6d4e934e3
|
ssb: Adjust the follow/hops policies. Replication defaults to 2 hops, counted in the same way as the docs, and is configurable. #79
|
2024-11-25 11:20:01 -05:00 |
|
|
53e75d8209
|
cleanup: Consolidate countof macros.
|
2024-11-13 20:22:42 -05:00 |
|
|
86751362cb
|
ssb: Indicate which muxrpc sends failed, and use that to fix some replication nonsense and log noise.
|
2024-10-23 14:13:55 -04:00 |
|
|
0e7d2a8b0e
|
ssb: The identity app now lets you switch out the server identity if you are an administrator.
|
2024-10-13 14:40:14 -04:00 |
|
|
36e82b9873
|
ssb: Sync now connects to room members one level deep.
|
2024-10-08 19:10:33 -04:00 |
|
|
277830bc3c
|
format: Sort includes. Yes, please.
|
2024-10-08 12:19:44 -04:00 |
|
|
85fce59c0c
|
ssb: Sync on demand fixes. Avoid keeping message streams live in this mode.
|
2024-10-06 11:50:49 -04:00 |
|
|
8a6147d512
|
ssb: Beginnings of a "sync now" mode for mobile.
|
2024-10-06 11:14:37 -04:00 |
|