Commit 675f6a15 authored by Grant's avatar Grant
Browse files

[worker:networking:runPixelStacking] fetch all sockets

parent fe71f0e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ const runPixelStacking = async () => {

  if (DEBUG) Logger.debug("Running pixel stacking...");
  const redis = await Redis.getClient();
  const sockets = await SocketController.get().io.local.fetchSockets();
  const sockets = await SocketController.get().io.fetchSockets();

  for (const socket of sockets) {
    const sub = await redis.get(Redis.key("socketToSub", socket.id));