Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
balancer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
9f1521e8
authored
Mar 31, 2023
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean
parent
b538c179
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
balancer/util.py
+0
-1
sredis/sredis.py
+0
-1
No files found.
balancer/util.py
View file @
9f1521e8
...
...
@@ -20,7 +20,6 @@ def proxy_datacenters(
else
:
server
=
balancer_fun
()
token
=
get_datacenter_token
(
username
,
server
)
print
(
token
)
url
=
f
"{server}/{serverpath}"
t_resp
=
requests
.
request
(
json
=
body
,
...
...
sredis/sredis.py
View file @
9f1521e8
...
...
@@ -38,7 +38,6 @@ def wr_get(centers: DataCenterSchema):
def
set_token
(
username
:
str
,
datacenter
:
str
,
token
:
str
):
print
(
f
"tokens:{username}"
+
datacenter
)
r
.
hset
(
f
"tokens:{username}"
,
datacenter
,
token
)
...
...
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