Change thrift_disk_log_transport to not flush when flush/1 is called if sync_every...
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:12:38 +0000 (01:12 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:12:38 +0000 (01:12 +0000)
commitd33ee46b8c75e8788c864529429e9efde67e5578
tree07e8092605850bcc4c6a1d7e5b4b83bf4c917b6d
parent844540669eca6b2c65e2d916d261a02602026d92
Change thrift_disk_log_transport to not flush when flush/1 is called if sync_every is defined

Summary:
  For fast logging we don't want to actually flush to disk after every message.
  There's force_flush/1 now if you actually want to force one

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666467 13f79535-47bb-0310-9956-ffa450edef68
lib/alterl/src/thrift_disk_log_transport.erl