File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414class PollingOptions
1515{
1616 /**
17- * @var integer Initial delay (in seconds) before attempting to poll a queue.
17+ * @var float Initial delay (in seconds) before attempting to poll a queue.
1818 */
19- public int $ initialDelaySec ;
19+ public float $ initialDelaySec ;
2020 /**
21- * @var integer Delay (in seconds) between successive attempts to poll a queue.
21+ * @var float Delay (in seconds) between successive attempts to poll a queue.
2222 */
23- public int $ delaySec ;
23+ public float $ delaySec ;
2424 /**
2525 * @var integer Maximum number of retries for a queue.
2626 */
@@ -31,7 +31,7 @@ class PollingOptions
3131 */
3232 public function __construct ()
3333 {
34- $ this ->initialDelaySec = 2 ;
34+ $ this ->initialDelaySec = 2.0 ;
3535 $ this ->delaySec = 1.5 ;
3636 $ this ->maxRetries = 80 ;
3737 }
You can’t perform that action at this time.
0 commit comments