Skip to content

High amount of items in socket.manager.closed #656

@kitek

Description

@kitek

Hi, I have a question about socket.manager.closed object.
What is it for?
I count items in that way:

this.closed =  Object.keys(socket.manager.closed).length;

and after several hours I got something like that:
http://dl.dropbox.com/u/2804933/Screenshots/tj55.png
http://dl.dropbox.com/u/2804933/Screenshots/7pic.png

After reaching approximately 55k items application does not want to establish new connections.
Why in manager.js at line 429 you dont delete item instead of assign an empty array to it?

Im testing this on socket.io: v0.7.9 and v.0.8.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions