Support

Home Forums Event Espresso Premium Tickets are reserved for too long? Reply To: Tickets are reserved for too long?

Reply To: Tickets are reserved for too long?

Author Replies
Tony # Posted on March 7, 2018 at 5:44 am

So after 15 minutes the session expires but am I right in saying that the ticket is still reserved and taking up 1 space on that event until the hourly purge takes place on expired reserved tickets?

That’s correct.

I can’t now for the life of me find that post or solution that I’m sure Josh posted on here or github to purge expired reserved tickets every say 15 mins?

I think the thread you are referring to is this one:

https://eventespresso.com/topic/events-not-sold-out-yet-people-unable-to-register-continued/#post-254155

Which links to this code:

https://gist.github.com/joshfeck/19cf49a2a30e939cca6d0a7014f7c183

It adds another hourly cron event as well as the default event to make sure the ticket reservation are reset. If you want a more frequent reset than hourly you’ll need to add your own schedule as hourly is the shortest default from WP.

Do NOT follow this link or you will be banned from the site!