diff options
author | onefang | 2020-03-18 11:34:11 +1000 |
---|---|---|
committer | onefang | 2020-03-18 11:34:11 +1000 |
commit | fd5e9f5acce2349eeff5f7d73b614ed49ee309e7 (patch) | |
tree | e5449c7f3bf8d44b623a905780bd7abdd51b1ad6 /src/sledjchisl/sledjchisl.c | |
parent | And actually show online status on the web pages. (diff) | |
download | opensim-SC_OLD-fd5e9f5acce2349eeff5f7d73b614ed49ee309e7.zip opensim-SC_OLD-fd5e9f5acce2349eeff5f7d73b614ed49ee309e7.tar.gz opensim-SC_OLD-fd5e9f5acce2349eeff5f7d73b614ed49ee309e7.tar.bz2 opensim-SC_OLD-fd5e9f5acce2349eeff5f7d73b614ed49ee309e7.tar.xz |
Allow grid stats to be collected every 30 seconds.
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index b4e20f7..7d9c7fe 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1836,7 +1836,7 @@ gridStats *getStats(MYSQL *db, gridStats *stats) | |||
1836 | if (NULL == stats) | 1836 | if (NULL == stats) |
1837 | { | 1837 | { |
1838 | stats = xmalloc(sizeof(gridStats)); | 1838 | stats = xmalloc(sizeof(gridStats)); |
1839 | stats->next = 300; | 1839 | stats->next = 30; |
1840 | gettimeofday(&(stats->last), NULL); | 1840 | gettimeofday(&(stats->last), NULL); |
1841 | stats->stats = qhashtbl(0, 0); | 1841 | stats->stats = qhashtbl(0, 0); |
1842 | stats->stats->putstr(stats->stats, "version", "SledjChisl FCGI Dev 0.1"); | 1842 | stats->stats->putstr(stats->stats, "version", "SledjChisl FCGI Dev 0.1"); |