aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
authoronefang2020-03-18 11:34:11 +1000
committeronefang2020-03-18 11:34:11 +1000
commitfd5e9f5acce2349eeff5f7d73b614ed49ee309e7 (patch)
treee5449c7f3bf8d44b623a905780bd7abdd51b1ad6 /src/sledjchisl/sledjchisl.c
parentAnd actually show online status on the web pages. (diff)
downloadopensim-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.c2
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");