File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/Illuminate/Broadcasting Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,13 @@ class BroadcastEvent implements ShouldQueue
35
35
*/
36
36
public $ timeout ;
37
37
38
+ /**
39
+ * The number of seconds to wait before retrying a job that encountered an uncaught exception.
40
+ *
41
+ * @var int
42
+ */
43
+ public $ backoff ;
44
+
38
45
/**
39
46
* Create a new job handler instance.
40
47
*
@@ -46,6 +53,7 @@ public function __construct($event)
46
53
$ this ->event = $ event ;
47
54
$ this ->tries = property_exists ($ event , 'tries ' ) ? $ event ->tries : null ;
48
55
$ this ->timeout = property_exists ($ event , 'timeout ' ) ? $ event ->timeout : null ;
56
+ $ this ->backoff = property_exists ($ event , 'backoff ' ) ? $ event ->backoff : null ;
49
57
$ this ->afterCommit = property_exists ($ event , 'afterCommit ' ) ? $ event ->afterCommit : null ;
50
58
}
51
59
You can’t perform that action at this time.
0 commit comments