From d3e03744cdbc12bd1956fd5d921fc2331e4ee5cf Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 17 Nov 2017 13:06:10 -0600 Subject: Improve the comment --- packages/0x.js/src/order_watcher/expiration_watcher.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/0x.js/src/order_watcher/expiration_watcher.ts b/packages/0x.js/src/order_watcher/expiration_watcher.ts index 1a9e9a418..5153cd8b9 100644 --- a/packages/0x.js/src/order_watcher/expiration_watcher.ts +++ b/packages/0x.js/src/order_watcher/expiration_watcher.ts @@ -10,7 +10,8 @@ import {ZeroEx} from '../0x'; const DEFAULT_ORDER_EXPIRATION_CHECKING_INTERVAL_MS = 50; /** - * This class includes all the functionality related to prunning expired orders + * This class includes the functionality to detect expired orders. + * It stores them in a min heap by expiration time and checks for expired ones every `orderExpirationCheckingIntervalMs` */ export class ExpirationWatcher { private orderHashHeapByExpiration: Heap; -- cgit v1.2.3