spiral
aeb6411b6c
fix(bot): always connect to redis if a redis address is configured
2022-09-02 08:54:32 +00:00
spiral
13efdbee83
typo
2022-06-14 14:41:32 -04:00
spiral
c4726f358b
feat(bot): get cluster config from Nomad node index env variable
2022-06-14 14:18:37 -04:00
spiral
799279054d
fix: include shard_id in redis channel
2022-05-10 07:32:14 -04:00
spiral
c2094e3b7a
feat(bot): add Redis cache
2022-04-13 08:44:53 -04:00
spiral
fadf007abc
feat(gateway): initial commit
2022-04-11 15:55:10 -04:00
spiral
9314ce672a
fix: don't query /gateway/bot if we already have the info from cluster config
2022-04-10 10:41:26 -04:00
spiral
6a213fa694
feat: dispatch new bot status to clusters via Redis
2022-03-30 20:42:57 -04:00
spiral
fc8f1b7cd3
fix: don't require Redis for startup
2022-02-04 14:53:56 -05:00
spiral
c38ca2e7fa
feat: add git commit hash to Serilog context
2022-01-24 08:13:59 -05:00
spiral
0419ced0d2
feat: store shard status in Redis
2022-01-22 03:52:52 -05:00
spiral
2aead40449
feat: add Redis identify ratelimiter
2022-01-13 12:26:25 -05:00
spiral
6eda5c4229
feat: only run migrations in single-process mode
2022-01-07 14:26:41 -05:00
spiral
39c8590bce
refactor: move ExtractNodeIndex to BotConfig.Cluster class
2022-01-07 14:25:08 -05:00
spiral
d195c80d92
feat: set shard status to offline when starting up
2021-11-28 20:50:13 -05:00
spiral
4450ae4214
feat: go through some TODOs
2021-11-26 22:02:58 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything
2021-11-26 21:10:56 -05:00
spiral
cb38b6809d
fix: don't spam Sentry with caught exceptions
2021-11-11 06:31:12 -05:00
spiral
b4e8dda9dd
fix: update sentry, correctly configure sentry dsn
2021-11-09 01:31:06 -05:00
spiral
d19f6456a7
feat: show full commit version hash in sentry logs
2021-11-07 03:09:45 -05:00
spiral
14b0e98791
feat: remove DiscordRequestObserver
2021-11-02 05:34:17 -04:00
spiral
ac2671452d
run dotnet format
2021-08-27 11:03:47 -04:00
spiral
1cb4bc9287
Expose git version in 'pk;stats' and '/v1/meta'
2021-08-01 15:22:23 -04:00
Ske
d61f61fead
Add basic support for multi-node clustering
2021-06-09 14:49:12 +02:00
Ske
288ec60e02
Remove hardcoded shard count override
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 10:21:58 +02:00
Ske
118f2d49a6
WIP new shard implementation
2021-06-08 10:19:54 +02:00
Ske
227d68a2a4
Convert event destructuring
2021-01-31 14:55:57 +01:00
Ske
a6fbd869be
Initial commit, basic proxying working
2020-12-22 13:15:26 +01:00
Ske
8d27148bdf
More updates to event infrastructure
2020-08-27 18:20:20 +02:00
Ske
f2c18dff41
Add preliminary support for logging outgoing HTTP requests
2020-08-27 00:07:00 +02:00
Ske
f1b28b7fb6
Move schema migration stuff to Database
2020-06-13 19:54:16 +02:00
Ske
90ac186183
Extract Database to interface
2020-06-13 19:36:43 +02:00
Ske
c875c8af9f
Various small fixes, setting guild config now works
2020-06-13 19:15:50 +02:00
Ske
ba441a15cc
Too many refactors in one:
...
- Allowed adding ephemeral(ish) views and functions
- Moved message_count to a concrete database field
- Moved most proxy logic to a stored procedure
- Moved database files around and refactored schema manager
2020-06-12 20:29:50 +02:00
Ske
a3517f8663
Refactor order of shard initialization
2020-05-12 21:26:37 +02:00
Ske
cde495cd3a
Add another delay to double-super-ensure the log buffers are flushed
2020-05-06 23:43:37 +02:00
Ske
0b41b4f6b8
Add graceful shutdown on SIGKILL/SIGINT
2020-05-05 18:12:34 +02:00
Ske
999ea5f0b5
Refactor and simplify the main bot classes
2020-05-02 01:52:52 +02:00