mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
maint: naming cleanup
This commit is contained in:
parent
d855008747
commit
7ef0af2b43
@ -61,10 +61,10 @@ impl<'conn> QueryConn<'conn> {
|
||||
let (end, start, step_resolution) = if let Some(TimeSpan {
|
||||
start: st,
|
||||
duration: du,
|
||||
step_seconds: step_millis,
|
||||
step_seconds,
|
||||
}) = self.span
|
||||
{
|
||||
((st + du).timestamp(), st.timestamp(), step_millis as f64)
|
||||
((st + du).timestamp(), st.timestamp(), step_seconds as f64)
|
||||
} else {
|
||||
let end = Utc::now().timestamp();
|
||||
let start = end - (60 * 10);
|
||||
|
Loading…
x
Reference in New Issue
Block a user