fix: increase timeout for mutate API call to handle slow docker ops

This commit is contained in:
2026-04-08 00:21:16 -04:00
parent 47f0e6da8f
commit e24da92e0f

View File

@@ -32,7 +32,7 @@ const DeckyFleet: React.FC = () => {
const handleMutate = async (name: string) => { const handleMutate = async (name: string) => {
try { try {
await api.post(`/deckies/${name}/mutate`); await api.post(`/deckies/${name}/mutate`, {}, { timeout: 120000 });
fetchDeckies(); fetchDeckies();
} catch (err) { } catch (err) {
console.error('Failed to mutate', err); console.error('Failed to mutate', err);