Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
public
coolamqp
Commits
b4ce41ca
Commit
b4ce41ca
authored
5 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
trying to solve that race condition
parent
e41880e8
No related branches found
No related tags found
No related merge requests found
Pipeline
#62088
failed with stages
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
coolamqp/uplink/listener/thread.py
+3
-0
3 additions, 0 deletions
coolamqp/uplink/listener/thread.py
with
3 additions
and
0 deletions
coolamqp/uplink/listener/thread.py
+
3
−
0
View file @
b4ce41ca
...
@@ -38,6 +38,9 @@ class ListenerThread(threading.Thread):
...
@@ -38,6 +38,9 @@ class ListenerThread(threading.Thread):
"""
Called before start. It is not safe to fork after this
"""
"""
Called before start. It is not safe to fork after this
"""
self
.
listener
=
EpollListener
()
self
.
listener
=
EpollListener
()
def
activate
(
self
,
sock
):
self
.
listener
.
activate
(
sock
)
def
run
(
self
):
def
run
(
self
):
while
not
self
.
terminating
:
while
not
self
.
terminating
:
self
.
listener
.
wait
(
timeout
=
1
)
self
.
listener
.
wait
(
timeout
=
1
)
...
...
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