Skip to content

@hashes is never cleaned #20

@jaroszan

Description

@jaroszan

@Hashes (endpoint.rb) only grows and items are never removed.

Perhaps it could be cleaned inside mark_call_dead function in the similar way as @dead_calls, however is it thread-safe? Should it be wrapped inside mutex synchronize block?

Or may be clean up should happen in one place, say separate thread which would (still with mutex) remove expired records from both @dead_calls and @Hashes? In that case should @Hashes be Hash as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions