Skip to content

Commit

Permalink
fix: increase scrape timeout to 15s (#454)
Browse files Browse the repository at this point in the history
Co-authored-by: twosinski <tomasz.wosinski@nxo.pl>
  • Loading branch information
w0s1nsk1 and twosinski committed May 27, 2024
1 parent acbf770 commit e775ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitchenowl/lib/services/api/recipe.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ extension RecipeApi on ApiService {
static const baseRoute = '/recipe';

// ignore: constant_identifier_names
static const Duration _TIMEOUT_SCRAPE = Duration(seconds: 7);
static const Duration _TIMEOUT_SCRAPE = Duration(seconds: 15);

Future<List<Recipe>?> getRecipes(Household household) async {
final res = await get(householdPath(household) + baseRoute);
Expand Down

0 comments on commit e775ca8

Please sign in to comment.