This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
feat(node): add warning for discarding events
tags/v0.3.12-rc0
mivik
9 months ago
parent
e60451eb2f
commit
9e687ccae8
No known key found for this signature in database
GPG Key ID:
E8BDA67F6781E57D
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
apis/rust/node/src/event_stream/scheduler.rs
+ 1
- 0
apis/rust/node/src/event_stream/scheduler.rs
View File
@@ -54,6 +54,7 @@ impl Scheduler {
if let Some((size, queue)) = self.event_queues.get_mut(event_id) {
// Remove the oldest event if at limit
if &queue.len() >= size {
tracing::warn!("Discarding event for input `{event_id}` due to queue size limit");
queue.pop_front();
}
queue.push_back(event);
Write
Preview
Loading…
Cancel
Save