Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
indexers
metadata-and-data
Commits
2792e00e
Commit
2792e00e
authored
Oct 15, 2021
by
DESPRES Damien
Browse files
force build
parent
efdff894
Pipeline
#16695
passed with stages
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
workers/doc_indexer.py
View file @
2792e00e
...
@@ -115,7 +115,7 @@ def index_docs(channel, method, properties, body):
...
@@ -115,7 +115,7 @@ def index_docs(channel, method, properties, body):
rep
=
es
.
bulk
(
body
=
es_body
)
rep
=
es
.
bulk
(
body
=
es_body
)
t2
=
time
.
time
()
t2
=
time
.
time
()
if
rep
[
'errors'
]
==
False
:
if
rep
[
'errors'
]
==
False
:
channel
.
basic_ack
(
delivery_tag
=
method
.
delivery_tag
)
channel
.
basic_ack
(
delivery_tag
=
method
.
delivery_tag
)
...
...
Write
Preview
Supports
Markdown
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