Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect documentation for scheduling #24

Open
HarshBalyan opened this issue Jan 4, 2022 · 0 comments
Open

Incorrect documentation for scheduling #24

HarshBalyan opened this issue Jan 4, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@HarshBalyan
Copy link
Member

Readme -> Scheduling

# 10 seconds
schedule_time = 10_000

Flume.enqueue_in(:queue_name, schedule_time, MyApp.FancyWorker, [arg_1, arg_2])

Here the schedule_time is shown to be in milliseconds. It should actually be unix time in seconds.

Also, Flume.enqueue_in/4, Flume.enqueue_in/5 and Flume.enqueue_in/6 accept argument time_in_seconds. It is confusing. A better name for this argument would be unix_time_in_seconds.

@HarshBalyan HarshBalyan added the documentation Improvements or additions to documentation label Jan 4, 2022
@vasuadari vasuadari assigned vasuadari and nitinstp23 and unassigned vasuadari Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants