Timeout weirdness
svn: r16818
This commit is contained in:
parent
71adf702a4
commit
bf559ec61d
|
@ -59,4 +59,4 @@
|
||||||
;; adjust-connection-timeout!: connection number -> void
|
;; adjust-connection-timeout!: connection number -> void
|
||||||
;; change the expiration time for this connection
|
;; change the expiration time for this connection
|
||||||
(define (adjust-connection-timeout! conn time)
|
(define (adjust-connection-timeout! conn time)
|
||||||
(reset-timer! (connection-timer conn) time))
|
(increment-timer! (connection-timer conn) time))
|
||||||
|
|
|
@ -45,7 +45,7 @@ for doing this.
|
||||||
@defproc[(adjust-connection-timeout! [c connection?]
|
@defproc[(adjust-connection-timeout! [c connection?]
|
||||||
[t number?])
|
[t number?])
|
||||||
void]{
|
void]{
|
||||||
Calls @scheme[reset-timer!] with the timer behind @scheme[c] with @scheme[t].
|
Calls @scheme[increment-timer!] with the timer behind @scheme[c] with @scheme[t].
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user