Osma Ahvenlampi
9368996a5b
use logging instead of sentry.capture_* ( #646 )
2023-10-23 10:33:55 -06:00
Henri Dickson
b003af64cc
Do not print "Scheduling 0 handled" unless settings.DEBUG is on ( #636 )
2023-08-23 22:12:21 +10:00
Andrew Godwin
2523de4249
Prevent race condition between threads and locking
2023-07-09 00:42:56 -06:00
Andrew Godwin
7f483af8d3
Rework Stator to use a next field and no async
2023-07-07 15:14:06 -06:00
Andrew Godwin
b2768e7f2e
Improve stator's performance in larger installs
2023-05-15 11:34:21 -06:00
Andrew Godwin
8f57aa5f37
UI/Domains Refactor
...
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Andrew Godwin
51b7c0d919
Undo one connection per transition
2023-02-04 11:46:38 -07:00
Andrew Godwin
36676fad59
Rework stator to avoid deadlocks on slow databases
...
Refs #424
2023-02-03 21:51:24 -07:00
Andrew Godwin
0a848aa884
Add watchdog to prevent stator freezing
...
Refs #424
2023-01-16 11:15:59 -07:00
Andrew Godwin
f4a8a96b81
Add first-class deletion support to Stator
2023-01-08 12:43:52 -07:00
Andrew Godwin
b09e7187ce
Actually implement the liveness file
2022-12-31 11:54:51 -07:00
Andrew Godwin
b03d9f0e12
Handle deletions of post URIs
...
Fixes #306
2022-12-28 22:47:28 -07:00
Andrew Godwin
2dd5454637
Back off Stator loop delay when there's no tasks
...
Fixes #232
2022-12-22 05:05:06 +00:00
Andrew Godwin
2ccf2e683e
Allow tuning of stator concurrency
2022-12-20 08:02:35 +00:00
Andrew Godwin
1130c23b1e
Stator stats overhaul
...
Removes the error table, adds a stats table and admin page.
Fixes #166
2022-12-15 12:26:44 -07:00
Andrew Godwin
a31f676b46
Policy pages and signup tests.
...
Fixes #113
2022-12-05 19:24:46 -07:00
Paolo Melchiorre
a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit ( #103 )
2022-12-05 10:38:37 -07:00
Michael Manfre
3f8045f412
[WIP] Sentry improvements ( #108 )
...
Stator clears scope during the main loop to behave more like
transactions. Transaction names are set.
Sentry tags:
* 'takahe.version'
* 'takahe.app' values 'web' or 'stator'
Added settings:
* TAKAHE_SENTRY_SAMPLE_RATE
* TAKAHE_SENTRY_TRACES_SAMPLE_RATE
2022-12-04 18:08:23 -07:00
Andrew Godwin
8e9e3ecf69
Some cleanup around editing
2022-11-27 12:09:08 -07:00
Michael Manfre
6c7ddedd34
Post editing
2022-11-27 11:09:46 -07:00
Andrew Godwin
db88c733b4
The glorious return of the in-view runner
2022-11-26 11:54:14 -07:00
Andrew Godwin
786d6190f8
Delete mechanics and refactor of post fanout
2022-11-24 17:11:04 -07:00
Michael Manfre
9014d53399
StatorRunner will refresh Config.system on each schedule_interval
2022-11-22 21:06:21 -07:00
Andrew Godwin
6e88c00969
Don't waste DB rows on bad inbox actors
...
Seems Sidekiq will keep trying to deliver messages even when the actor
no longer exists?
2022-11-20 14:20:28 -07:00
Andrew Godwin
f491fdb56e
Actor delete, sentry async, faster stator
2022-11-20 12:32:49 -07:00
Andrew Godwin
77643a4fe1
Add more error handling
2022-11-20 12:24:03 -07:00
Andrew Godwin
2142677b01
A few more tweaks for an initial deploy
2022-11-19 10:20:13 -07:00
Andrew Godwin
8019311490
Deployment re-jiggling
2022-11-18 17:24:43 -07:00
Andrew Godwin
ddb3436275
Boosting! Incoming, anyway.
2022-11-13 18:43:09 -07:00
Andrew Godwin
fbfad9fbf5
Inbound and outbound follows basic working
2022-11-10 23:42:43 -07:00
Andrew Godwin
2c3a129970
Profile fetching now working on state machine
2022-11-09 23:48:31 -07:00
Andrew Godwin
7746abbbb7
Most of the way through the stator refactor
2022-11-09 22:29:49 -07:00
Andrew Godwin
61c324508e
Midway point in task refactor - changing direction
2022-11-09 22:29:49 -07:00