Skip to content
Snippets Groups Projects
Commit 2d689f74 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

set default timeout to 3000

parent 94463a1e
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@
#include <stdio.h>
static unsigned int DEADLINE = 0 ;
static unsigned int DEADLINE = 3000 ;
static pid_t send(genalloc *gasv, char const *livetree, char const *signal,char const *const *envp)
{
......@@ -84,7 +84,7 @@ static pid_t send(genalloc *gasv, char const *livetree, char const *signal,char
int ssexec_dbctl(int argc, char const *const *argv,char const *const *envp,ssexec_t *info)
{
DEADLINE = info->timeout ;
if (info->timeout) DEADLINE = info->timeout ;
unsigned int up, down, reload, ret ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment