Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effective from #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Effective from #42

wants to merge 1 commit into from

Conversation

denisbsu
Copy link
Contributor

@denisbsu denisbsu commented Jan 6, 2025

No description provided.

@@ -24,6 +24,8 @@ use crate::scheduler::Scheduler;
use crate::scheduling_unit::{bundle_chunks, SchedulingUnit};
use sqd_messages::assignments::{Assignment, NetworkAssignment, NetworkState};

const ASSIGNMENT_EFFECTIVE_FROM_TIMEOUT_SEC: u64 = 30;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not actually a timeout, let's call it "delay" or smth like that

@@ -334,11 +336,19 @@ impl S3Storage {
}
}

let system_time = std::time::SystemTime::now();
let mut effective_from = system_time
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try to avoid mutating variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants