Skip to content

Commit 2e6bd42

Browse files
committed
feat: update Docker images to version 0.0.16 and adjust debounce time in SongSearch component
1 parent 90bf86b commit 2e6bd42

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docker-compose.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
server:
3-
image: skeptrune/jukebox-server:v0.0.15
3+
image: skeptrune/jukebox-server:v0.0.16
44
ports:
55
- "${SERVER_PORT}:${SERVER_INTERNAL_PORT}"
66
env_file:
@@ -40,7 +40,7 @@ services:
4040
window: 60s
4141

4242
worker1:
43-
image: skeptrune/jukebox-worker:v0.0.15
43+
image: skeptrune/jukebox-worker:v0.0.16
4444
ports:
4545
- "${WORKER1_PORT}:${WORKER1_INTERNAL_PORT}"
4646
env_file:
@@ -74,7 +74,7 @@ services:
7474
retries: 3
7575

7676
worker2:
77-
image: skeptrune/jukebox-worker:v0.0.15
77+
image: skeptrune/jukebox-worker:v0.0.16
7878
ports:
7979
- "${WORKER2_PORT}:${WORKER2_INTERNAL_PORT}"
8080
env_file:
@@ -108,7 +108,7 @@ services:
108108
retries: 3
109109

110110
worker3:
111-
image: skeptrune/jukebox-worker:v0.0.15
111+
image: skeptrune/jukebox-worker:v0.0.16
112112
ports:
113113
- "${WORKER3_PORT}:${WORKER3_INTERNAL_PORT}"
114114
env_file:
@@ -142,15 +142,13 @@ services:
142142
retries: 3
143143

144144
frontend:
145-
image: skeptrune/jukebox-spa:v0.0.15
145+
image: skeptrune/jukebox-spa:v0.0.16
146146
env_file:
147147
- .env
148148
ports:
149149
- "${FRONTEND_PORT}:${FRONTEND_INTERNAL_PORT}"
150150
environment:
151151
VITE_API_HOST: ${VITE_API_HOST}
152-
depends_on:
153-
- server
154152
restart: unless-stopped
155153

156154
minio:

frontend/src/components/SongSearch.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default function SongSearch({ onSongSelect }: SongSearchProps) {
4545
const performSearch = async (searchQuery: string) => {
4646
if (!searchQuery.trim()) {
4747
setResults([]);
48+
setIsSearching(false);
4849
return;
4950
}
5051

@@ -88,7 +89,7 @@ export default function SongSearch({ onSongSelect }: SongSearchProps) {
8889
// Set new timeout for search
8990
debounceRef.current = setTimeout(() => {
9091
performSearch(newQuery);
91-
}, 2000);
92+
}, 1500);
9293
};
9394

9495
// Clean up timeout on unmount

0 commit comments

Comments
 (0)