gotosocial/internal/api/client/statuses
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
..
status.go [feature] Status source endpoint (#2848) 2024-04-17 13:49:20 +01:00
status_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
statusbookmark.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statusbookmark_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusboost.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statusboost_test.go [bugfix] Fix minor API issue w/ boosted statuses (#2846) 2024-04-17 12:41:40 +02:00
statusboostedby.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusboostedby_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statuscontext.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statuscreate.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statuscreate_test.go [chore] Move local account settings to separate db table (#2770) 2024-03-22 14:03:46 +01:00
statusdelete.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusdelete_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
statusfave.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statusfave_test.go [chore] Refactor account deleting/block logic, tidy up some other processing things (#1599) 2023-03-20 18:10:08 +00:00
statusfavedby.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusfavedby_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusget.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusget_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statushistory.go [feature] Stub status history endpoint (#2847) 2024-04-17 13:06:49 +01:00
statushistory_test.go [feature] Stub status history endpoint (#2847) 2024-04-17 13:06:49 +01:00
statusmute.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statusmute_test.go [bugfix] Ensure pre renders as expected, fix orderedCollectionPage (#2434) 2023-12-10 12:36:00 +01:00
statuspin.go [feature] Process outgoing Move from clientAPI (#2750) 2024-03-13 13:53:29 +01:00
statuspin_test.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
statussource.go [feature] Status source endpoint (#2848) 2024-04-17 13:49:20 +01:00
statussource_test.go [bugfix] Fix incorrect field name for status source, add helpful message (#2854) 2024-04-18 13:22:55 +02:00
statusunbookmark.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunbookmark_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunboost.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunfave.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunfave_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunmute.go [feature] Status thread mute/unmute functionality (#2278) 2023-10-25 15:04:53 +01:00
statusunpin.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
statusunpin_test.go [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00