Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
iso8583
/
iso8583-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9ba4bd50
authored
Mar 31, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
a
1 parent
e5501263
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
iso8583_web/scripts/forwarder.py
iso8583_web/scripts/forwarder.py
View file @
9ba4bd5
...
...
@@ -61,6 +61,7 @@ def log_error(s):
def
iso_to_dict
(
iso
):
data
=
iso
.
get_values
()
print
(
"DEBUG data"
,
data
)
return
dict_to_str
(
data
)
...
...
@@ -524,7 +525,7 @@ def usage(argv):
def
check_connection
():
log_info
(
"Check Connection"
)
#
log_info("Check Connection")
for
ip_port
in
ip_conf
:
if
ip_port
in
conn_mgr
:
index
=
-
1
...
...
@@ -548,7 +549,7 @@ def check_connection():
def
check_job
():
log_info
(
"Check Job"
)
#
log_info("Check Job")
for
ip_port
,
connection
in
conn_mgr
:
if
not
connection
.
running
:
continue
...
...
@@ -570,7 +571,7 @@ def check_job():
def
check_parser
():
log_info
(
"Check Parser"
)
#
log_info("Check Parser")
i
=
-
1
while
True
:
i
+=
1
...
...
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