Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
f8aa4f83
Commit
f8aa4f83
authored
Nov 05, 2020
by
Carla Guillen
Browse files
restricting parameter tolerance_ms
parent
e3f158e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
analytics/operators/persystsql/PerSystSqlOperator.cpp
View file @
f8aa4f83
...
...
@@ -145,7 +145,7 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) {
// Clearing the buffer, if already allocated
_buffer
.
clear
();
size_t
elCtr
=
0
;
uint64_t
tolerance_ms
=
(
uint64_t
)
_interval
*
3
/
2
;
uint64_t
tolerance_ms
=
(
uint64_t
)
_interval
*
2
/
3
;
uint64_t
my_timestamp
=
getTimestamp
()
-
_go_back_ns
;
// Too early to fetch data for the job
...
...
@@ -214,7 +214,6 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) {
_persystdb
->
updateJobsLastSuffix
(
jobData
.
jobId
,
jobData
.
userId
,
jobData
.
nodes
.
size
(),
agg_info
.
job_id_db
,
table_suffix
);
_persystdb
->
insertInAggregateTable
(
table_suffix
,
agg_info
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment