mirror of https://github.com/knative/pkg.git
This is modelled after some of the semantics available in controller-runtime's `Result` type, which allows reconcilers to indicate a desire to reprocess a key either immediately or after a delay. I worked around our lack of this when I reworked Tekton's timeout handling logic by exposing a "snooze" function to the Reconciler that wrapped `EnqueueAfter`, but this feels like a cleaner API for folks to use in general, and is consistent with our `NewPermanentError` and `NewSkipKey` functions in terms of influencing the queuing behaviors in our reconcilers via wrapped errors. You can see some discussion of this here: https://knative.slack.com/archives/CA4DNJ9A4/p1627524921161100 |
||
---|---|---|
.. | ||
testing | ||
OWNERS | ||
controller.go | ||
controller_test.go | ||
helper.go | ||
helper_test.go | ||
options.go | ||
stats_reporter.go | ||
stats_reporter_test.go | ||
two_lane_queue.go | ||
two_lane_queue_test.go |