isaacseymour / activejob-retry

Automatic retries for ActiveJob
MIT License
138 stars 14 forks source link

Use nil for unlimited retries #17

Closed greysteil closed 9 years ago

greysteil commented 9 years ago

Use nil, rather than -1, for unlimited retries. limit still defaults to 1 if not specified.

greysteil commented 9 years ago

@isaacseymour what say you? I've never liked the -1 pattern.