Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database use optional? #20

Closed
HeyHugo opened this issue Dec 13, 2013 · 2 comments
Closed

Database use optional? #20

HeyHugo opened this issue Dec 13, 2013 · 2 comments

Comments

@HeyHugo
Copy link

HeyHugo commented Dec 13, 2013

Hi, some applications might not use a database. I have only tried clockwork with Laravel 4 so I don't know if this is a general issue. Would it make sense to make database use optional by having some config variable that lets clockwork skip it's database profiling?

@itsgoingd
Copy link
Owner

Hey, you can disable database profiling either by setting default database to null in database config (if your app doesn't use database at all), or by adding databaseQueries to filter in Clockwork config.

@HeyHugo
Copy link
Author

HeyHugo commented Dec 16, 2013

Oh ok thanks, now I feel stupid =)

@HeyHugo HeyHugo closed this as completed Dec 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants