Skip to content

Cache each map and maybe, only sync db and cache to stop async calls in main function #21

@github-actions

Description

@github-actions

Line: 13

// we check what mode user is in
// set throttle based on mode and only save data we need, maybe send full telemetry to frontend
/**
* TODO: Cache each map and maybe, only sync db and cache to stop async calls in main function
* category=nuxt
*/
export const throttledWrite = async (msg, rinfo, gameId) => {
// Checks
const userId = idFromIp(rinfo.address)
if (users[userId] === undefined || users[userId].udp === undefined) { return }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions