urt30plus / urt30t

|30+| Urban Terror Game/Discord Bot
https://www.urt-30plus.org
Apache License 2.0
1 stars 0 forks source link

Add setting to indicate if log won't be truncated #20

Closed urt30plus closed 1 year ago

urt30plus commented 1 year ago

https://github.com/urt30plus/urt30t/blob/6c21acfe1f7ba3efa9c21a89b19c5291f406fa17/urt30t/core.py#L249

If we know the log won't be truncated we can skip os stat calls. This should be a setting that defaults to no truncate.