mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
fix random test failure
This commit is contained in:
parent
6df5b2aaf9
commit
9474daabde
@ -35,7 +35,7 @@ impl AutoSyncManager {
|
|||||||
executor: &TaskExecutor,
|
executor: &TaskExecutor,
|
||||||
store: Store,
|
store: Store,
|
||||||
sync_send: SyncSender,
|
sync_send: SyncSender,
|
||||||
_log_sync_recv: broadcast::Receiver<LogSyncEvent>,
|
log_sync_recv: broadcast::Receiver<LogSyncEvent>,
|
||||||
catch_up_end_recv: oneshot::Receiver<()>,
|
catch_up_end_recv: oneshot::Receiver<()>,
|
||||||
) -> Result<Self> {
|
) -> Result<Self> {
|
||||||
let (file_announcement_send, file_announcement_recv) = unbounded_channel();
|
let (file_announcement_send, file_announcement_recv) = unbounded_channel();
|
||||||
@ -86,7 +86,7 @@ impl AutoSyncManager {
|
|||||||
);
|
);
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
serial: None,
|
serial,
|
||||||
random,
|
random,
|
||||||
file_announcement_send,
|
file_announcement_send,
|
||||||
new_file_send,
|
new_file_send,
|
||||||
|
Loading…
Reference in New Issue
Block a user