Skip to content

Commit 86c0fb6

Browse files
committed
Fix typo
1 parent 5323f67 commit 86c0fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trinity/buffer/storage/queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def __init__(self, config: StorageConfig) -> None:
302302
self.logger = get_logger(f"queue_{config.name}", in_ray_actor=True)
303303
self.config = config
304304
self.capacity = config.capacity
305-
self.staleness_limit = config.max_staleness # Optional[int]
305+
self.staleness_limit = config.staleness_limit # Optional[int]
306306
self.max_model_version = 0 # max model version that queue has seen so far
307307
self.queue = QueueBuffer.get_queue(config)
308308
st_config = deepcopy(config)

0 commit comments

Comments
 (0)