Commit Graph

2086 Commits

Author SHA1 Message Date
ITOH
344954d69f Revert "remove code coverage (test)"
This reverts commit 560b06a4f0.
2021-04-15 20:42:39 +02:00
ITOH
560b06a4f0 remove code coverage (test) 2021-04-15 20:02:32 +02:00
ITOH
c825dbf0a7 fix delayutil 2021-04-15 19:59:09 +02:00
ITOH
62c563fb4e or this 2021-04-15 19:30:09 +02:00
ITOH
0ec3539cfe try this 2021-04-15 19:22:27 +02:00
ITOH
399ad234ac Merge pull request #863 from discordeno/fix-lint
Fix lint
2021-04-15 19:03:05 +02:00
ITOH
10e9d96576 fix(helpers/channels): cloneChannel errors 2021-04-15 18:48:32 +02:00
ITOH
d446d57684 fix(helpers/channels): add reason arg 2021-04-15 18:48:10 +02:00
ITOH
b94215a86b removed template 2021-04-15 18:11:25 +02:00
ITOH
23a4c0f864 removed templatestruct 2021-04-15 18:09:40 +02:00
ITOH
98bf292aff fix lint 2021-04-15 18:06:31 +02:00
ITOH
6a6acf2d6c Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-04-15 17:55:01 +02:00
ITOH
49dd851a4a fix message structure 2021-04-15 17:54:54 +02:00
Skillz4Killz
3715407c14 Merge pull request #858 from existentiality/main
feat: implement channel cloning
2021-04-15 11:53:22 -04:00
ITOH
41011fed99 Merge pull request #862 from discordeno/fix-ws-resume
fix some ws things
2021-04-15 17:34:36 +02:00
ITOH
03d98a6953 back 2021-04-15 17:33:29 +02:00
ITOH
08b80a1e64 Update ws.ts 2021-04-15 16:48:11 +02:00
ITOH
8c52abce7f add closeWS function 2021-04-15 16:46:44 +02:00
ITOH
2c97964f0f heartbeat change 2021-04-15 14:25:26 +02:00
ITOH
f5d6a85882 uups 2021-04-15 13:22:22 +02:00
ITOH
b2ed4b4f69 remove the as number 2021-04-15 13:22:14 +02:00
ITOH
43de5125d9 move buckets to ws in favour of createNextShard 2021-04-15 13:15:50 +02:00
ITOH
92622a10e0 use 3065 ? 2021-04-15 12:15:51 +02:00
ITOH
a5fe03b3ba add doc link 2021-04-15 12:14:27 +02:00
ITOH
7f85fdbac5 add doc comment 2021-04-15 12:12:11 +02:00
ITOH
a8cabc6967 only close if open 2021-04-15 12:06:12 +02:00
ITOH
e95fcc9305 check if dc ack beat 2021-04-15 12:01:25 +02:00
ITOH
e8a1bf68f8 Update heartbeat.ts 2021-04-15 11:51:54 +02:00
ITOH
bd1a3aebc6 Merge branch 'main' into fix-ws-resume 2021-04-15 10:53:10 +02:00
ITOH
cbed84e62c that wrong too 2021-04-15 09:53:04 +01:00
ITOH
53bbbdb4c6 Merge branch 'main' into fix-ws-resume 2021-04-15 10:49:11 +02:00
ITOH
d669caa29e fix(ci): ayntee added too many = 2021-04-15 09:48:37 +01:00
ITOH
23779d7a89 better info comment 2021-04-15 10:42:00 +02:00
ITOH
6e02b14cdc Update resume.ts 2021-04-15 10:40:34 +02:00
ITOH
28ff1574d8 use setTimeout for heartbeat in favour of first random interval 2021-04-15 10:40:07 +02:00
ITOH
81a3bc3c26 Wait for a random amount of time between 1 and 5 seconds before resuming 2021-04-15 09:44:33 +02:00
ITOH
6e404876fd fix(ws): resume identify when oldShard is undefined 2021-04-15 09:35:00 +02:00
ITOH
1ff48bc446 add queueCounter 2021-04-15 09:15:35 +02:00
ITOH
62c2caed99 fix: spawnShards wrong loop debug data 2021-04-15 09:15:03 +02:00
ITOH
f3f7eacc1c fix: don't reset ws.processQueue counter on every new loop 2021-04-15 09:14:40 +02:00
ITOH
6d497b1277 fix Discord Heartbeat request
We assume that discord only sends it while we don't have hit the 120 request limit
2021-04-15 09:13:52 +02:00
ITOH
64034b9e7d Merge pull request #861 from discordeno/fix-ready-handle-delay
fix: move createNextShard to ws
2021-04-14 23:16:04 +02:00
Skillz4Killz
ff5d086562 fix: move createNextShard to ws 2021-04-14 20:23:58 +00:00
ITOH
de93b0ae20 Merge pull request #859 from discordeno/ws-fixxxxxxeessssssss
fix some ws things (better title later when I found and finished fixing stuff)
2021-04-14 21:13:13 +02:00
ITOH
07587f42a1 queueStartedAt 2021-04-14 21:05:40 +02:00
Exists
3133e1015d Fix test name
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2021-04-14 14:03:01 -05:00
ITOH
3f77e8e9e1 Update process_queue.ts 2021-04-14 21:00:11 +02:00
ITOH
6a0f2fdef5 Update resume.ts 2021-04-14 20:59:51 +02:00
Skillz4Killz
f223d654bd Commit from GitHub Actions (Lint) 2021-04-14 18:55:58 +00:00
Skillz4Killz
29e682ed30 fix: random heartbeat request 2021-04-14 18:55:30 +00:00