From e93807469ac54f5e21fae7f420d426971e73b35e Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 31 May 2015 10:49:45 +0300 Subject: [PATCH] 200 msec pause between requests. --- .../PointToolsBundle/Command/UpdateSubscriptionsCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php index e3214b7..5371711 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php @@ -122,7 +122,8 @@ class UpdateSubscriptionsCommand extends ContainerAwareCommand ); } - // @todo some pause for lower API load + // @todo move to the config + usleep(200000); } } } \ No newline at end of file