fix: increase timeout for mutate API call to handle slow docker ops
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user