Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irker
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iDB
irker
Commits
e82bd78f
Commit
e82bd78f
authored
7 years ago
by
Vijver, van de, Bob (UT-GUEST)
Browse files
Options
Downloads
Patches
Plain Diff
Disabled automatic disconnect on idle
parent
46fab225
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
irkerd
+1
-10
1 addition, 10 deletions
irkerd
run.sh
+11
-0
11 additions, 0 deletions
run.sh
with
12 additions
and
10 deletions
irkerd
+
1
−
10
View file @
e82bd78f
...
@@ -542,16 +542,7 @@ class Connection:
...
@@ -542,16 +542,7 @@ class Connection:
self
.
status
=
"
expired
"
self
.
status
=
"
expired
"
break
break
elif
xmit_timeout
or
ping_timeout
:
elif
xmit_timeout
or
ping_timeout
:
LOG
.
info
((
time
.
sleep
(
ANTI_BUZZ_DELAY
)
"
timing out connection to %s at %s
"
"
(ping_timeout=%s, xmit_timeout=%s)
"
)
%
(
self
.
target
,
time
.
asctime
(),
ping_timeout
,
xmit_timeout
))
with
self
.
irker
.
irc
.
mutex
:
self
.
connection
.
context
=
None
self
.
connection
.
quit
(
"
transmission timeout
"
)
self
.
connection
=
None
self
.
status
=
"
disconnected
"
else
:
else
:
# Prevent this thread from hogging the CPU by pausing
# Prevent this thread from hogging the CPU by pausing
# for just a little bit after the queue-empty check.
# for just a little bit after the queue-empty check.
...
...
This diff is collapsed.
Click to expand it.
run.sh
0 → 100755
+
11
−
0
View file @
e82bd78f
#!/bin/bash
#make-run.sh
#make sure a process is always running.
if
ps ax |
grep
'[i]rkerd'
>
/dev/null
;
then
exit
else
sudo
-u
nobody /var/www/irker/irkerd
-H
0.0.0.0
-n
iDBirker &
fi
exit
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