Skip to content

Cache data not cleared when connection terminated #5720

@xxo1shine

Description

@xxo1shine

System information

java-tron version: v4.7.4
OS & Version: Linux & macOS

Expected behaviour

Cache data should be cleared when the connection is disconnected.

Actual behaviour

The cache clearing data method is used incorrectly, resulting in the data not being cleared, should use the invalidateAll() method.

advInvReceive.cleanUp();
advInvSpread.cleanUp();
advInvRequest.clear();
syncBlockIdCache.cleanUp();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions