diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/polaris/protocol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polaris/protocol.py b/src/polaris/protocol.py index ffdcee3..3a171f8 100644 --- a/src/polaris/protocol.py +++ b/src/polaris/protocol.py @@ -147,7 +147,7 @@ class Message: @staticmethod def next_id(): _id = Message._global_id - Message._global_id += 1 + Message._global_id = (Message._global_id + 1) % 100000 return _id @staticmethod |