Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
a1f453eb
Unverified
Commit
a1f453eb
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
fix: move log message before retry sleep
parent
cbf53e93
dev
11-add-websockets
master
v1.0.0
v0.1.0
v0.0.1
2 merge requests
!23
Resolve "Release v0.1.0"
,
!13
Resolve "Detect new clients and add to thread pool"
Pipeline
#107768
failed with stages
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
soar_bus.py
soar_bus.py
+2
-2
No files found.
soar_bus.py
View file @
a1f453eb
...
...
@@ -183,11 +183,11 @@ if __name__ == "__main__":
s
.
connect
((
"rmq"
,
5672
))
isreachable
=
True
except
socket
.
error
as
e
:
logging
.
info
(
f
"RabbitMQ unavailable: retrying in
{
interval
}
s"
)
time
.
sleep
(
interval
)
pingcounter
+=
1
s
.
close
()
logging
.
info
(
f
"RabbitMQ unavailable: retrying in
{
interval
}
s"
)
try
:
with
concurrent
.
futures
.
ProcessPoolExecutor
()
as
executor
:
main
(
executor
)
...
...
This diff is collapsed.
Click to expand it.
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