Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b84832e5
Commit
b84832e5
authored
Apr 19, 2021
by
Shubham Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spacing error
parent
2fbdc529
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
app/services/clusters/applications/check_installation_progress_service.rb
...sters/applications/check_installation_progress_service.rb
+2
-4
lib/gitlab/database/postgres_hll/batch_distinct_counter.rb
lib/gitlab/database/postgres_hll/batch_distinct_counter.rb
+2
-4
No files found.
app/services/clusters/applications/check_installation_progress_service.rb
View file @
b84832e5
...
...
@@ -19,12 +19,10 @@ module Clusters
def
check_timeout
if
timed_out?
app
.
make_errored!
(
"Operation timed out. Check pod logs for
#{
pod_name
}
for more details."
)
app
.
make_errored!
(
"Operation timed out. Check pod logs for
#{
pod_name
}
for more details."
)
else
ClusterWaitForAppInstallationWorker
.
perform_in
(
ClusterWaitForAppInstallationWorker
::
INTERVAL
,
app
.
name
,
app
.
id
)
ClusterWaitForAppInstallationWorker
::
INTERVAL
,
app
.
name
,
app
.
id
)
end
end
...
...
lib/gitlab/database/postgres_hll/batch_distinct_counter.rb
View file @
b84832e5
...
...
@@ -69,10 +69,8 @@ module Gitlab
hll_buckets
=
Buckets
.
new
while
batch_start
<=
finish
hll_buckets
.
merge_hash!
(
hll_buckets_for_batch
(
batch_start
,
batch_start
+
batch_size
))
batch_start
+=
batch_size
hll_buckets
.
merge_hash!
(
hll_buckets_for_batch
(
batch_start
,
batch_start
+
batch_size
))
batch_start
+=
batch_size
sleep
(
SLEEP_TIME_IN_SECONDS
)
end
...
...
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