Skip to content

Commit

Permalink
feat(LoginPlayerHelper): 修改玩家登出时间存储方式为静态Map
Browse files Browse the repository at this point in the history
  • Loading branch information
shulng committed Aug 10, 2024
1 parent b652fd9 commit 82f3f48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

public class LoginPlayerHelper {
private static final Set<LoginPlayer> set = new HashSet<>();
private Map<String, Long> playerExitTimes = new ConcurrentHashMap<>();
private static Map<String, Long> playerExitTimes = new ConcurrentHashMap<>();
private long timeoutDuration;

public static List<LoginPlayer> getList(){
Expand Down

0 comments on commit 82f3f48

Please sign in to comment.