Make it a little faster, queue is in sqlite now, fix db bug and more
This commit is contained in:
@@ -5,7 +5,7 @@ func Components.QueueSZ(tytd)
|
||||
tytd.Mutex.Lock();
|
||||
|
||||
|
||||
var html = <span hx-trigger="every 10000ms" hx-target="this" hx-push-url="false" hx-indicator="none" hx-get="./queue-size" hx-swap="outerHTML" class="badge">{tytd.VideoQueueCount}</span>;
|
||||
var html = <b hx-trigger="every 10000ms" hx-target="this" hx-push-url="false" hx-indicator="none" hx-get="./queue-size" hx-swap="outerHTML">{tytd.VideoQueueCount}</b>;
|
||||
|
||||
tytd.Mutex.Unlock();
|
||||
return html;
|
||||
|
||||
Reference in New Issue
Block a user