gotosocial/internal/processing/status
kim c9c0773f2c
[performance] update remaining worker pools to use queues (#2865)
* start replacing client + federator + media workers with new worker + queue types

* refactor federatingDB.Delete(), drop queued messages when deleting account / status

* move all queue purging to the processor workers

* undo toolchain updates

* code comments, ensure dereferencer worker pool gets started

* update gruf libraries in readme

* start the job scheduler separately to the worker pools

* reshuffle ordering or server.go + remove duplicate worker start / stop

* update go-list version

* fix vendoring

* move queue invalidation to before wipeing / deletion, to ensure queued work not dropped

* add logging to worker processing functions in testrig, don't start workers in unexpected places

* update go-structr to add (+then rely on) QueueCtx{} type

* ensure more worker pools get started properly in tests

* fix remaining broken tests relying on worker queue logic

* fix account test suite queue popping logic, ensure noop workers do not pull from queue

* move back accidentally shuffled account deletion order

* ensure error (non nil!!) gets passed in refactored federatingDB{}.Delete()

* silently drop deletes from accounts not permitted to

* don't warn log on forwarded deletes

* make if else clauses easier to parse

* use getFederatorMsg()

* improved code comment

* improved code comment re: requesting account delete checks

* remove boolean result from worker start / stop since false = already running or already stopped

* remove optional passed-in http.client

* remove worker starting from the admin CLI commands (we don't need to handle side-effects)

* update prune cli to start scheduler but not all of the workers

* fix rebase issues

* remove redundant return statements

* i'm sorry sir linter
2024-04-26 13:50:46 +01:00
..
bookmark.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
bookmark_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
boost.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
boost_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
create.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
create_test.go [bugfix] Ensure local statuses always get a threadID so they can be muted (#2665) 2024-02-19 11:50:49 +01:00
delete.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
fave.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
get.go [feature] Status source endpoint (#2848) 2024-04-17 13:49:20 +01:00
get_test.go Improve context descendant sorting (#2579) 2024-01-31 13:40:41 +00:00
mute.go use pointer for freshness window (#2614) 2024-02-09 14:24:49 +00:00
pin.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
status.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
status_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00