Commits

carl douglas committed f6c8632

set keep alive on redis socket

  • Participants
  • Parent commits b49986c

Comments (0)

Files changed (1)

File redis-client.scm

   (set! *redis-socket* 
     (socket-connect/ai 
       (address-information host port family: af/inet)))
-  (define-values (in-port out-port) 
+  (set! (so-keep-alive? *redis-socket*) #t)
+  (define-values (in-port out-port)
                  (socket-i/o-ports *redis-socket*))
   (redis-in-port in-port)
   (redis-out-port out-port)