facebook / facebook/jscodeshift

Per File Timeout

Open
#87 2 comments 1 reaction 0 assignees View on GitHub
improvement
Dominant language
JavaScript
Stars
10k
Forks
498
PR merge metrics
No merged PRs in 30d

Description

It would be really useful to have a per-file timeout option. Currently I'm transforming a large number of files, and some individual files are causing my transform to hang (seemingly indefinitely). If I could set a timeout on a per-file basis then I could just continue on and transform all other files.

This could work by killing any process which does not produce any output for a sufficiently long time, then putting whatever jobs it had pending into a new process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.