Skip to content

Commit 8f70f71

Browse files
authored
fix: Use correctly calculated polling delay instead of base interval. (#178)
1 parent dfe2ce0 commit 8f70f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/client-sdk/src/data_sources/polling_data_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void PollingDataSource::StartPollingTimer() {
185185
polling_interval_ - time_since_poll_seconds, std::chrono::seconds(0)));
186186

187187
timer_.cancel();
188-
timer_.expires_after(polling_interval_);
188+
timer_.expires_after(delay);
189189

190190
auto weak_self = weak_from_this();
191191

0 commit comments

Comments
 (0)