-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support max_concurrency for running Looker queries
Situation was that once we ran Spectacles on our Looker instance with 128 explores in our model, it killed the instance in a way that it stopped responding and eventually crashed. I've diagnosed that it was merely the number of running queries at a time that caused it. It scheduled pretty much all 128 queries immediately. So this adds a flag --max-concurrency which you can use to tweak and set how much load you want to put on your Looker instance. I've tried our staging server with 10 and it works nicely and doesn't crash anything.
- Loading branch information
Igor Serko
committed
Nov 14, 2019
1 parent
a21092c
commit 106fedd
Showing
3 changed files
with
105 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters