New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Deacitvate spock temporarily

André August 27, 2019 by André

I have a collection where some entries were filled by a cron job. But the users can also add entries via control panel. Now i want to have the entries under version control but when the con job tries to create or change a large amount of entries it takes forever to save each entry. Is there a way to deactivate spock before i insert multiple entries via api and activate it again afterwards? Or how do you configure spock when you do about 100 changes by the entry api?

Answered by André!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower