Commit graph

33 commits

Author SHA1 Message Date
alyssa
578c09c216 chore: clean up some rust code 2026-01-18 06:08:07 -05:00
asleepyskye
39179f8e3a fix(gateway): properly check for reconnect
Some checks failed
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
2025-09-19 09:30:20 -04:00
alyssa
ebb23286d8 chore: bump rust edition to 2024 2025-09-06 18:28:24 +00:00
asleepyskye
0cd351de45 fix(gateway): add missing 'if' to shard state
Some checks failed
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
2025-08-31 22:46:51 -04:00
asleepyskye
65b40c498b chore(gateway): format
Some checks failed
Build and push Rust service Docker images / rust docker build (push) Has been cancelled
rust checks / cargo fmt (push) Has been cancelled
2025-08-27 22:34:19 -04:00
asleepyskye
1378379e14 feat(gateway): add reconnect timestamp to shard state 2025-08-27 22:31:23 -04:00
asleepyskye
621889a6c2 fix(gateway): use try_send for events 2025-08-15 16:48:22 -04:00
alyssa
73103dc2b5 fix(gateway): only send relevant events to shard state manager 2025-05-24 13:19:40 +00:00
alyssa
05817afdba chore(gateway): promote cache_api to just api 2025-05-24 12:40:14 +00:00
alyssa
b5f18106e1 feat(gateway): add /shard_status endpoint 2025-05-24 12:40:14 +00:00
asleepyskye
e2acaf93be fix(gateway): move shard state updates, store in hashmap 2025-05-24 12:40:14 +00:00
alyssa
0167519804 feat(gateway): instrument shard threads with shard id 2025-05-24 12:40:14 +00:00
alyssa
eb9994b215 fix(gateway): set custom prefix in bot status 2025-05-24 12:40:14 +00:00
alyssa
50900ee640 chore: bump axum version 2025-05-24 12:40:14 +00:00
alyssa
f9a6c2cefe chore(rust): tidier libpk::main macro impl 2025-05-24 12:40:14 +00:00
alyssa
7737850afb chore(rust): correctly format values in errors 2025-05-24 12:40:14 +00:00
alyssa
4a098e4533 fix(gateway): improve shutdown flow 2025-04-26 17:00:48 +00:00
alyssa
44c5a2d106 feat(gateway): get node id from kubernetes 2025-04-24 10:42:52 +00:00
alyssa
bfa0071f90 feat(gateway): runtime_config_key in config 2025-04-24 10:42:52 +00:00
alyssa
7ba16c1347 fix(gateway): throw error on non-200 from bot 2025-04-24 10:42:52 +00:00
alyssa
5fcee4eb29 feat(gateway): add option to use source address in gateway awaiter 2025-04-24 10:42:52 +00:00
alyssa
292c182eb2 feat: update docker-compose.yml for selfhost 2025-04-24 10:42:52 +00:00
alyssa
19616b6bbb chore: bump twilight 2025-04-04 12:20:15 +00:00
alyssa
a8664665a6 feat: add last message cache to gateway 2025-04-04 11:10:39 +00:00
alyssa
15c992c572 feat: remote await events from gateway 2025-04-04 11:10:39 +00:00
alyssa
cc7122e389 fix(gateway): use tokio channels as to not block gateway on exit 2025-04-04 11:10:39 +00:00
alyssa
2578eb0e3c feat: send events from gateway to bot over http 2025-04-04 11:10:39 +00:00
alyssa
a72afb35a0 feat: add remote config over http/redis 2025-04-04 11:10:35 +00:00
alyssa
2be3fe6a00 fix: disable twilight ratelimiter when using proxy 2025-03-08 18:57:13 +00:00
alyssa
3cf71112d6 feat(gateway): add metric for shard close code 2025-03-08 12:04:13 +00:00
alyssa
ec49ead783 fix(gateway): remove superflous redis error handling code that actually created more errors 2025-03-08 11:58:54 +00:00
alyssa
e88d6b7e2a feat(gateway): push shard latency to prometheus 2025-01-04 23:04:58 +00:00
alyssa
16ce67e02c chore: reorganize rust crates 2025-01-02 05:20:43 +00:00