{"push_id":719685498,"size":1,"distinct_size":1,"ref":"refs/heads/dead-size","head":"d0bd43c898b640eb612cc57fb49bbc10a4893e57","before":"785fa3ea46e69e20d95111cf6bb7eb692302c093","commits":[{"sha":"d0bd43c898b640eb612cc57fb49bbc10a4893e57","author":{"email":"d500145d1456adf0ab289948d78d438ba071b2b1@indeed.com","name":"Nehal J Wani"},"message":"Add a feature 'dead size' to lsf\n\nThis feature enables users to specify a dead size for the log files.\nAs soon as the size of the log file exceeds the gives size, lsf will\nstop writing logs to the file. It will resume writing, only when\nthe log file is rotated or renamed.\n\nChanges:\n* config.go:\n  Rename deadtime to deadTimeDur to explicitely determine it's usage\n  Introduce DeadSize (string) and deadSizeVal (uint64)\n* harvestor.go:\n  Apply check for dead size. Stop harvesting once exceeded.\n* logstash-forwarder.go:\n  Introduce a global map and mutex for deadfile db.\n* prospector.go:\n  Resume harvestor on dead files only under certain conditions.\n* bytefmt.go:\n  Add function to convert size-string to bytes\n* bytefmt_test.go:\n  Add unit testcases for the new conversion function","distinct":true,"url":"https://api.github.com/repos/nehaljwani/logstash-forwarder/commits/d0bd43c898b640eb612cc57fb49bbc10a4893e57"}]}