gregames 2002/06/03 11:05:50
Modified: specweb99/specweb99-2.0 mod_specweb99.c
Log:
Wait for 2 seconds before updating the User.Profile and Custom.Ads files
so subsequent stat()s can reliably tell they have changed. The previous
code had the right idea, but the wrong units.
Revision Changes Path
1.3 +2 -2 httpd-test/specweb99/specweb99-2.0/mod_specweb99.c
Index: mod_specweb99.c
===================================================================
RCS file: /home/cvs/httpd-test/specweb99/specweb99-2.0/mod_specweb99.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_specweb99.c 31 May 2002 15:10:14 -0000 1.2
+++ mod_specweb99.c 3 Jun 2002 18:05:50 -0000 1.3
@@ -590,7 +590,7 @@
__TIME__);
ap_log_error(APLOG_MARK, APLOG_INFO | APLOG_NOERRNO, 0, s, "%s",
- "$Id: mod_specweb99.c,v 1.2 2002/05/31 15:10:14 gregames Exp $");
+ "$Id: mod_specweb99.c,v 1.3 2002/06/03 18:05:50 gregames Exp $");
return 0;
} /* specweb99_module_init */
@@ -674,7 +674,7 @@
* having identical mtime's on platforms with second granuaarity
* (Solaris,Lnux).
*/
- apr_sleep(2);
+ apr_sleep(2 * APR_USEC_PER_SEC);
/*
* 1