Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
ae055f40
Commit
ae055f40
authored
Nov 02, 2015
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #698 from temoto/patch-1
printer_tcp set TCP_NODELAY to avoid jitter
parents
9abd22fd
ce8f75fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
printcore.py
printrun/printcore.py
+1
-0
No files found.
printrun/printcore.py
View file @
ae055f40
...
...
@@ -174,6 +174,7 @@ class printcore():
if
not
is_serial
:
self
.
printer_tcp
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
self
.
printer_tcp
.
setsockopt
(
socket
.
IPPROTO_TCP
,
socket
.
TCP_NODELAY
,
1
)
self
.
timeout
=
0.25
self
.
printer_tcp
.
settimeout
(
1.0
)
try
:
...
...
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