Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
tas_token_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8e09db5b
authored
Apr 08, 2020
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
apidigkey 25分钟更新一次token
parent
8b97613a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/apidigikey.py
token_server.py
lib/apidigikey.py
View file @
8e09db5b
...
...
@@ -11,7 +11,7 @@ from log_manage import get_logger
apidigikey_log
=
get_logger
(
'apidigikey_token_info'
)
PLATFORM
=
"apidigikey"
LEVEL
=
"
C
"
LEVEL
=
"
TF
"
BACK_NUM
=
0
MODE
=
"redis"
MAIN_NUM
=
THREAD_NUM
=
1
...
...
token_server.py
View file @
8e09db5b
...
...
@@ -23,7 +23,7 @@ LEVEL_MAP = {
"B"
:
30
,
# 仅供测试用
"X"
:
60
,
"C"
:
60
*
5
,
"T
M"
:
60
*
20
,
"T
F"
:
60
*
25
,
"HH"
:
60
*
30
,
"H"
:
60
*
60
,
"4H"
:
60
*
60
*
4
,
...
...
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