Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jiří Kalvoda
jr
Commits
41a77702
Commit
41a77702
authored
11 months ago
by
Jiří Kalvoda
Browse files
Options
Downloads
Patches
Plain Diff
FIXUP
parent
d9d57b69
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
prog/server.py
+2
-2
2 additions, 2 deletions
prog/server.py
with
2 additions
and
2 deletions
prog/server.py
+
2
−
2
View file @
41a77702
...
...
@@ -19,14 +19,14 @@ class MainServer(communication.FuncCaller):
async
def
_get_download_server
(
self
):
if
self
.
_download_server
is
None
:
import
download_server
s
=
await
UnixSocket
().
connect
(
"
sockets/download_server
"
)
s
=
await
communication
.
UnixSocket
().
connect
(
"
sockets/download_server
"
)
self
.
_download_server
=
download_server
.
DownloadServer
(
s
)
return
self
.
_download_server
async
def
_get_preprocess_server
(
self
):
if
self
.
_preprocess_server
is
None
:
import
preprocess
s
=
await
UnixSocket
().
connect
(
"
sockets/preprocess_server
"
)
s
=
await
communication
.
UnixSocket
().
connect
(
"
sockets/preprocess_server
"
)
self
.
_preprocess_server
=
preprocess
.
PreprocessServer
(
s
)
return
self
.
_preprocess_server
...
...
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