gotosocial/internal/processing/account
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
..
account.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
account_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
alias.go [bugfix] Prevent URL + URI for same account being used as alias target (#2545) 2024-01-20 12:45:43 +01:00
alias_test.go [bugfix] Prevent URL + URI for same account being used as alias target (#2545) 2024-01-20 12:45:43 +01:00
block.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
bookmarks.go [bugfix] Fix paging for empty items (#2236) 2023-09-29 15:31:10 +02:00
create.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
delete.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
delete_test.go [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
follow.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
follow_request.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
follow_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
get.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
lists.go [chore] deinterface the typeutils.Converter and update to use state structure (#2217) 2023-09-23 18:44:11 +02:00
move.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
move_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
note.go [feature] Support setting private notes on accounts (#1982) 2023-07-27 10:30:39 +02:00
relationships.go [feature] Option to hide followers/following (#2788) 2024-04-02 10:42:24 +01:00
rss.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
rss_test.go [feature/performance] Store account stats in separate table (#2831) 2024-04-16 13:10:13 +02:00
statuses.go [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
themes.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
themes_test.go [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00
update.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
update_test.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00