Skip to content

Create a wrapper over discord.ext.tasks.loop #186

@wookie184

Description

@wookie184

discord.ext.tasks.loop automatically reruns tasks by default on some errors. The implementation doesn't seem great though because:

  • The error is never logged.
  • There is no limit on the number of times it will retry.
  • The error may not be something that will be fixed by retrying.

A solution would be to default to not reconnecting. A util in botcore gives us more flexibility to change how things work in the future (e.g. error handling, custom retry logic in some cases, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions