channels web admin, error 500 #57

Open
opened 2025-06-24 13:13:05 -04:00 by adam · 1 comment
Owner
No description provided.
adam added the
Problem
label 2025-06-24 13:13:05 -04:00
adam added this to the buck passing milestone 2025-06-26 09:05:09 -04:00
Author
Owner

"i should use a static class" "i should use a singleton"

the wheel of fate turns again.

...ok to be less cryptic: my static class is not as "thread safe" as I was hoping; I have accidentally shared channelCacheDirty and not shared channels.
i need there to be precisely one instance of this member. and indeed, the whole class. and there's a pattern for that... Singleton (scattered gasps in background)

"i should use a static class" "i should use a singleton" the wheel of fate turns again. ...ok to be less cryptic: my *static* class is not as "thread safe" as I was hoping; I have accidentally shared `channelCacheDirty` and *not shared* `channels`. i need there to be precisely one instance of this member. and indeed, the whole class. and there's a pattern for that... Singleton (scattered gasps in background)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: greyn/vassago#57
No description provided.