Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Schulz
ds-project
Commits
b671b554
Commit
b671b554
authored
1 year ago
by
Alexander Schulz
Browse files
Options
Downloads
Patches
Plain Diff
bugfix 2 group creation after group server crash
parent
f6531e7e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.py
+0
-4
0 additions, 4 deletions
server.py
with
0 additions
and
4 deletions
server.py
+
0
−
4
View file @
b671b554
...
@@ -440,17 +440,13 @@ class Server(multiprocessing.Process):
...
@@ -440,17 +440,13 @@ class Server(multiprocessing.Process):
def
find_groupchat_server_addresse
(
self
,
group
):
def
find_groupchat_server_addresse
(
self
,
group
):
# double check if group really exist
# double check if group really exist
for
key
in
self
.
local_group_cache
:
for
key
in
self
.
local_group_cache
:
print
(
"
Key
"
,
key
)
if
group
==
str
(
key
):
if
group
==
str
(
key
):
print
(
"
ID:
"
,
self
.
local_group_cache
[
key
])
if
self
.
local_group_cache
[
key
]
==
"
MAIN
"
:
if
self
.
local_group_cache
[
key
]
==
"
MAIN
"
:
addr
=
self
.
server_address
addr
=
self
.
server_address
else
:
else
:
id
=
self
.
local_group_cache
[
key
]
id
=
self
.
local_group_cache
[
key
]
addr
=
self
.
local_servers_cache
[
id
][
0
]
addr
=
self
.
local_servers_cache
[
id
][
0
]
print
(
"
Address:
"
,
addr
)
return
addr
return
addr
def
send_reply_to_client
(
self
,
server_addr
,
client_addr
):
def
send_reply_to_client
(
self
,
server_addr
,
client_addr
):
...
...
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