Skip to content

Commit 199fa10

Browse files
authored
[Common] Fix timestamp module (#12159)
1 parent 3f79668 commit 199fa10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/Tools/timestampModule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ class TimestampModule
108108
orbitResetTimestamp = sorTimestamp * 1000; // from ms to us
109109
} else if (runNumber < 300000) { // Run 2
110110
LOGF(debug, "Getting orbit-reset timestamp using start-of-run timestamp from CCDB");
111-
auto ctp = ccdb->template getForTimeStamp<std::vector<int64_t>>(timestampOpts.orbit_reset_path.value.data(), sorTimestamp);
111+
auto ctp = ccdb->template getSpecific<std::vector<int64_t>>(timestampOpts.orbit_reset_path.value.data(), sorTimestamp);
112112
orbitResetTimestamp = (*ctp)[0];
113113
} else {
114114
// sometimes orbit is reset after SOR. Using EOR timestamps for orbitReset query is more reliable
115115
LOGF(debug, "Getting orbit-reset timestamp using end-of-run timestamp from CCDB");
116-
auto ctp = ccdb->template getForTimeStamp<std::vector<int64_t>>(timestampOpts.orbit_reset_path.value.data(), eorTimestamp / 2 + sorTimestamp / 2);
116+
auto ctp = ccdb->template getSpecific<std::vector<int64_t>>(timestampOpts.orbit_reset_path.value.data(), eorTimestamp / 2 + sorTimestamp / 2);
117117
orbitResetTimestamp = (*ctp)[0];
118118
}
119119

0 commit comments

Comments
 (0)