bot icon indicating copy to clipboard operation
bot copied to clipboard

Check number of available help channels hourly

Open dementati opened this issue 4 years ago • 1 comments

Solves the help channel count inconsistency from #1903.

If number of available help channels is incorrect, reload the HelpChannels cog.

dementati avatar Nov 07 '21 20:11 dementati

Would this help with the issue? I imagine if the count drops the admins will be notified sooner than the one hour period in most cases

I used the one-hour interval mentioned in the original issue, but perhaps that was referring to actually reloading the cog and not just checking the available channel count. Since getting the category channels in this manner doesn't seem to require an API call, I guess we could do it much more frequently at no cost.

dementati avatar Nov 07 '21 20:11 dementati

@MarkKoz Hello. What's your status on this PR?

Thanks.

Xithrius avatar Oct 26 '22 21:10 Xithrius

@MarkKoz Hello. What's your status on this PR?

Thanks.

I do have some local changes but nothing was competed. I believe I ran into a difficult concurrency problem which led me to writing a custom lock, but I was having trouble achieving what I needed. I'll try to find it this weekend and see if this is something I can continue or not.

MarkKoz avatar Oct 26 '22 22:10 MarkKoz

Work has started on the new help system, and given the amount of work this issue will require, I don't think it makes sense to continue. It's not high priority anyway.

MarkKoz avatar Nov 02 '22 05:11 MarkKoz

Agreed, lets not spend resources on this.

ChrisLovering avatar Nov 02 '22 14:11 ChrisLovering