Index: branches/1.3/xcache.c
===================================================================
--- branches/1.3/xcache.c	(revision 726)
+++ branches/1.3/xcache.c	(revision 766)
@@ -1001,5 +1001,5 @@
 	/* {{{ restore */
 	/* stale precheck */
-	if (cache->compiling) {
+	if (XG(request_time) - cache->compiling < 30) {
 		cache->clogs ++; /* is it safe here? */
 		return old_compile_file(h, type TSRMLS_CC);
@@ -1010,5 +1010,5 @@
 	ENTER_LOCK_EX(cache) {
 		/* clogged */
-		if (cache->compiling) {
+		if (XG(request_time) - cache->compiling < 30) {
 			cache->clogs ++;
 			op_array = NULL;
