We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6545379 commit 954c1ffCopy full SHA for 954c1ff
sentry/src/event_aggregator.rs
@@ -5,18 +5,16 @@ use crate::event_reducer;
5
use crate::Application;
6
use crate::ResponseError;
7
use crate::Session;
8
+use async_std::sync::RwLock;
9
use chrono::{Duration, Utc};
10
use primitives::adapter::Adapter;
11
use primitives::sentry::{Event, EventAggregate};
12
use primitives::{Channel, ChannelId};
13
use std::collections::HashMap;
14
+use std::sync::Arc;
15
use std::time::Duration as TimeDuration;
16
use tokio::time::delay_for;
17
-// use futures::
-use async_std::sync::RwLock;
18
-use std::sync::Arc;
19
-
20
#[derive(Default, Clone)]
21
pub struct EventAggregator {
22
aggregate: Arc<RwLock<HashMap<String, EventAggregate>>>,
0 commit comments