pushing fixes

This commit is contained in:
Skillz
2020-05-10 17:51:00 -04:00
parent 92442bdbfd
commit 8a86aaad9f
+1 -2
View File
@@ -63,7 +63,6 @@ let shardCounter = 0;
function createShardWorker() {
const path = new URL("./shard.ts", import.meta.url).toString();
console.log("path", path);
const shard = new Worker(path, { type: "module", deno: true });
shard.onmessage = (message) => {
if (message.data.type === "REQUEST_CLIENT_OPTIONS") {
@@ -91,7 +90,7 @@ export function handleDiscordPayload(
socket: WebSocket,
resumeInterval: number,
) {
console.log("inside handle discord payloa", data);
console.log("inside handle discord payloa", data.t);
// Update the sequence number if it is present
if (data.s) updatePreviousSequenceNumber(data.s);
eventHandlers.raw?.(data);