Why does Statamic::isWorker()
not just check if the app is running in console?
#10506
Unanswered
simonworkhouse
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Might be a silly question, but is the intent of the
Statamic::isWorker()
check mainly to avoid reading from certain caches when running as a worker?If so, why would this not extend to all other artisan commands too?
Beta Was this translation helpful? Give feedback.
All reactions