[Jifty-commit] r5783 - in jifty/trunk: share/web/templates/=
Jifty commits
jifty-commit at lists.jifty.org
Tue Sep 2 17:30:33 EDT 2008
Author: alexmv
Date: Tue Sep 2 17:30:31 2008
New Revision: 5783
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/templates/=/subs
Log:
r36800 at kohr-ah: chmrr | 2008-09-02 17:28:47 -0400
* Don't hang if pubsub is off, just finish
Modified: jifty/trunk/share/web/templates/=/subs
==============================================================================
--- jifty/trunk/share/web/templates/=/subs (original)
+++ jifty/trunk/share/web/templates/=/subs Tue Sep 2 17:30:31 2008
@@ -27,7 +27,7 @@
$m->flush_buffer;
$writer->startTag("body");
-while (1) {
+while (Jifty->config->framework('PubSub')->{'Enable'}) {
my $sent = write_subs_once($writer);
flush STDOUT;
last if ( $sent && !$forever );
More information about the Jifty-commit
mailing list