Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
metadata-and-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
indexers
metadata-and-data
Commits
3987dca6
Commit
3987dca6
authored
5 years ago
by
ddamiron
Browse files
Options
Downloads
Patches
Plain Diff
clean-up reindexer
parent
2156e6ad
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.py
+1
-1
1 addition, 1 deletion
main.py
workers/reindexer.py
+4
-4
4 additions, 4 deletions
workers/reindexer.py
with
5 additions
and
5 deletions
main.py
+
1
−
1
View file @
3987dca6
...
...
@@ -187,7 +187,7 @@ def delete_dataset_from_dest_index(the_rabbit, the_cfg, the_uuid):
uuid_prefix
=
'
meta
'
,
info
=
'
no info
'
,
loglevel
=
'
INFO
'
,
progress_ratio
=
0.
2
progress_ratio
=
0.
1
)
the_rabbit
.
publish_log
(
log_message
=
log_message
.
__dict__
)
# ------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
workers/reindexer.py
+
4
−
4
View file @
3987dca6
...
...
@@ -42,7 +42,7 @@ def create_sampling_task(cfg, channel, uuid):
uuid_prefix
=
'
full
'
,
info
=
uuid
,
loglevel
=
'
INFO
'
,
progress_ratio
=
0.
4
progress_ratio
=
0.
8
)
json_body
=
json
.
dumps
(
log_message
.
__dict__
)
...
...
@@ -207,7 +207,7 @@ def on_msg_callback(channel, method, properties, body):
uuid_prefix
=
'
full
'
,
info
=
uuid
,
loglevel
=
'
INFO
'
,
progress_ratio
=
0.
8
progress_ratio
=
0.
2
)
json_body
=
json
.
dumps
(
log_message
.
__dict__
)
...
...
@@ -273,7 +273,7 @@ def on_msg_callback(channel, method, properties, body):
uuid_prefix
=
'
meta
'
,
info
=
uuid
,
loglevel
=
'
INFO
'
,
progress_ratio
=
0.
9
progress_ratio
=
0.
6
)
json_body
=
json
.
dumps
(
log_message
.
__dict__
)
...
...
@@ -375,7 +375,7 @@ def on_msg_callback(channel, method, properties, body):
uuid_prefix
=
'
full
'
,
info
=
uuid
,
loglevel
=
'
INFO
'
,
progress_ratio
=
1
progress_ratio
=
0.9
)
json_body
=
json
.
dumps
(
log_message
.
__dict__
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment