Commit Graph

20 Commits

Author SHA1 Message Date
Vecna 6a0ff0d8a2 Begin implementing Troll Patrol handler 2024-03-15 02:30:57 -04:00
onyinyang c8b6bb9fdd Formatting and clippy changes 2023-12-19 20:02:12 +00:00
Cecylia Bocovich 7d94b3c861
Add LoxDBError and refactor to return Result
Add a new error type to capture multiple possible database reading
errors and refactor both read_lox_context_from_db and use_last_context
to return a Result.
2023-12-18 14:20:17 -05:00
Cecylia Bocovich 5ed62d239d
Check whether lox_db is empty after recovering 2023-12-18 14:20:17 -05:00
onyinyang 88a865d04c
Remove time manipulation and other fmt fixes 2023-11-21 18:41:53 -05:00
onyinyang fdde186c92
Add lox-wasm and lox-utils READMEs and other fmt fixes 2023-11-21 12:57:00 -05:00
onyinyang 1ed629e233 Add more sensible process for db write_context testing 2023-11-14 17:30:45 +00:00
onyinyang 73b04b9a19
Fixed up inline comments and README for Lox Distributor 2023-11-07 00:15:26 -05:00
onyinyang 2597cb53f7
Add prometheus http server 2023-10-30 15:20:23 -04:00
onyinyang 0edc2a3ac3
Add metrics setup 2023-10-30 15:20:20 -04:00
onyinyang ba70b1b4d4
Add a MAX_DAILY_BRIDGES to limit invites per day 2023-10-30 15:17:08 -04:00
onyinyang 5e1a2d8c6d
Fix lox-wasm dependencies 2023-10-23 14:04:00 -04:00
onyinyang 794f80ab11
Fix bug in DupFilter that breaks serialize/deserialize 2023-10-23 13:55:19 -04:00
onyinyang 8ebc4abc19
Minor formatting changes and last context read fix 2023-10-18 12:08:15 -04:00
onyinyang 25add69c4d
Add syncing functionality 2023-10-18 12:08:15 -04:00
onyinyang 84fa10cbe1
Adds DB struct and impl to db_handler 2023-09-11 11:17:00 -04:00
onyinyang 5dc2ed2a90
Added minor fixes required for actual input 2023-09-07 15:30:52 -04:00
onyinyang b3ddc03ba6
Make roll back date an arg, reduce fn complexity 2023-09-07 15:30:51 -04:00
onyinyang e1057143fa
Add better handling for roll back and exact dates 2023-09-07 15:30:51 -04:00
onyinyang ffb05d403a
Fix up database handling 2023-09-07 15:30:50 -04:00