Commit 3a01178 1 parent ab9ffaf commit 3a01178 Copy full SHA for 3a01178
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 73
73
For c = 1 To MAX_CLIENTS
74
74
' If this connection is active
75
75
If client_handle (c ) Then
76
+ ' Add logging to monitor connection processing
77
+ Print " Processing connection #" + Str $(c ) + " (" + Str $(ROUND ((Timer (.001 ) - client_expiry (c )) / 1000 , 1 )) + " ms old)"
78
+
76
79
' work on the request in an effort to finish it
77
80
If handle_request (c ) Then
78
81
' Ignore "captive" pings
124
127
Loop
125
128
End If
126
129
127
- ' Limit CPU usage and leave some time for stuff be sent across the network..I have it as high as 1000 on my Front End
128
- _Limit 500 ' default 50
130
+ ' Limit CPU usage and leave some time for stuff be sent across the network
131
+ _Limit 100 ' default 100, range 1-1000. Higher numbers = better perf at cost of higher idle CPU usage
129
132
Loop Until InKey $ = Chr $(27 ) ' escape quits
130
133
131
134
' After a keypress, close all connections and quit
You can’t perform that action at this time.
0 commit comments