src-d / hercules

Gaining advanced insights from Git repository history.
Other
2.63k stars 334 forks source link

Feature request: commit timeout / commit size threshold #342

Closed m09 closed 4 years ago

m09 commented 4 years ago

Related to #294: I recently hit a big commit (5544 files changed, 9725962 insertions(+), 10094991 deletions(-)), and its processing hangs (or just runs for more than 10 hours). Would it be easy to add a flag to filter those / add a timeout?

vmarkovtsev commented 4 years ago

Hey @m09 please check out --renames-timeout. Try setting it to 1,000 (1 second). In fact, the default (1 minute) should still be fine.

m09 commented 4 years ago

Thanks @vmarkovtsev :bowing_man: I'm testing that this morning.

m09 commented 4 years ago

The repo just reached 1k commits btw :)