diff options
author | Christoph Dwertmann <cdwertmann@gmail.com> | 2015-03-17 18:22:29 +1100 |
---|---|---|
committer | Christoph Dwertmann <cdwertmann@gmail.com> | 2015-03-17 18:22:29 +1100 |
commit | e13bd5dcd000cc82ed5f1379dac0d674789d3a0c (patch) | |
tree | 2368762f7fea1525b58fb9b32d9ac893c24d7beb /lib/exe | |
parent | ea0c142784dedbbc3e93b84bea865a40ccb6dc94 (diff) | |
download | rpg-e13bd5dcd000cc82ed5f1379dac0d674789d3a0c.tar.gz rpg-e13bd5dcd000cc82ed5f1379dac0d674789d3a0c.tar.bz2 |
Speed up indexer on lighttpd by using tpl_flush()
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/indexer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php index 2de178caa..d2a4d45f7 100644 --- a/lib/exe/indexer.php +++ b/lib/exe/indexer.php @@ -199,8 +199,7 @@ function sendGIF(){ header('Content-Length: '.strlen($img)); header('Connection: Close'); print $img; - ob_flush(); - flush(); + tpl_flush(); // Browser should drop connection after this // Thinks it's got the whole image } |