Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
iso8583-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0daf02dc
authored
Apr 26, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Reduce sleep duration in connection checks and main loop for improved responsiveness
1 parent
09b84901
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
iso8583_web/iso8583/__init__.py
iso8583_web/iso8583/__init__.py
View file @
0daf02d
...
@@ -580,7 +580,7 @@ def check_connection():
...
@@ -580,7 +580,7 @@ def check_connection():
if
cfg
[
'listen'
]:
if
cfg
[
'listen'
]:
continue
continue
start_client
(
cfg
)
start_client
(
cfg
)
sleep
(
5
)
sleep
(
0.1
)
# 5
def
check_job
():
def
check_job
():
...
@@ -675,7 +675,7 @@ def main_loop(conf_file):
...
@@ -675,7 +675,7 @@ def main_loop(conf_file):
check_connection
()
check_connection
()
check_job
()
check_job
()
check_parser
()
check_parser
()
sleep
(
0.
5
)
sleep
(
0.
1
)
except
KeyboardInterrupt
:
except
KeyboardInterrupt
:
out
()
out
()
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment