Skip to content

Commit 61593c8

Browse files
simon-idwatson
andauthored
Update packages/dd-trace/src/remote_config/scheduler.js
Co-authored-by: Thomas Watson <[email protected]>
1 parent 5782f36 commit 61593c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dd-trace/src/remote_config/scheduler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Scheduler {
1717
runAfterDelay (interval = this._interval) {
1818
this._timer = setTimeout(this._callback, interval, () => this.runAfterDelay())
1919

20-
this._timer.unref?.()
20+
this._timer.unref()
2121
}
2222

2323
stop () {

0 commit comments

Comments
 (0)