Largo <[EMAIL PROTECTED]> writes:
> Can I change in the file
> "/usr/src/slony1-1.0.2/src/slon/sync_thread.c" the lines 35 and 36 to
>
> int    sync_interval = 500;
> int    sync_interval_timeout = 10000;
>
> to have 0.5 seconds  ??????
> I get no files slon and slonik after compiling and building ... So
> there was errors .

You might consider looking at slon options:

[EMAIL PROTECTED]:/opt/home/pgaero $ slon -h
2006-10-10 12:30:18 UTC CONFIG main: slon version 1.1.5 starting up
usage: slon [options] clustername conninfo

Options:
    -d <debuglevel>       verbosity of logging (1..4)
    -s <milliseconds>     SYNC check interval (default 10000)
    -t <milliseconds>     SYNC interval timeout (default 60000)
    -o <milliseconds>     desired subscriber SYNC processing time
    -g <num>              maximum SYNC group size (default 6)
    -c <num>              how often to vacuum in cleanup cycles
    -p <filename>         slon pid file
    -f <filename>         slon configuration file
    -a <directory>        directory to store SYNC archive files

You don't need to recompile to specify different values; you merely
need to have -s / -t options.
-- 
output = ("cbbrowne" "@" "ca.afilias.info")
<http://dba2.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to