question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task repetition created in the past

See original GitHub issue

The idea of task repetitions is to repeat a task each n seconds. This is fine for use-cases where task processing is always running.

When task processing is not always running, this can create a problem. For example, imagine a daily task and the processing stopping for one week. When the processing resumes, the same task will be run 7 times in short succession.

Is this the intended behavior?

Could you imagine changing this, so that Task.create_repetition() only creates repetitions in the present and future, but not in the past?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
walterrennercommented, Jan 24, 2018

@grote your changes are available in the lastest version. thanks for your PR

0reactions
walterrennercommented, Jan 24, 2018

@grote the solution you provided is fine. Waiting for your PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task repetition in ELT | ELT Journal - Oxford Academic
Task repetition involves asking language learners to repeat the same or slightly altered tasks at intervals of, for example, one or two weeks...
Read more >
'Play it again, Sam!' The value of task repetition with Scott ...
Teachers have mixed feelings about repetition : on the one hand, teachers know, intuitively perhaps, that language learning involves ...
Read more >
Repeating A Task - Win32 apps | Microsoft Learn
Task Scheduler can run a task any number of times times after a trigger is fired.
Read more >
MASSED TASK REPETITION IS A DOUBLE-EDGED SWORD ...
Task repetition plays a critical role in developing second language (L2) knowledge and skills (Bygate, Reference Bygate2018). In task-based ...
Read more >
Repetition Priming - an overview | ScienceDirect Topics
Repetition priming refers to the change in responding to a word or an object as a result of a previous encounter with that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found