Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Seven Du committed Sep 24, 2022
1 parent 78011f7 commit 52e1fce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:async';

import '../../../version.dart';
import '../../dmmf/dmmf.dart' show Document;
import '../../runtime/datasource.dart';
import '../common/engine.dart';
import '../common/get_config_result.dart';
import '../common/types/query_engine.dart';
Expand Down
6 changes: 1 addition & 5 deletions lib/src/engine_core/data_proxy/data_proxy_engine.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'package:crypto/crypto.dart';
import 'package:http/http.dart';
Expand Down Expand Up @@ -110,10 +109,7 @@ class DataProxyEngine extends Engine {
maxDelay: const Duration(milliseconds: 200),
maxAttempts: 10,
retryIf: (e) =>
e is ClientException ||
e is SocketException ||
e is TimeoutException ||
e == retryException,
e is ClientException || e is TimeoutException || e == retryException,
);
}

Expand Down

0 comments on commit 52e1fce

Please sign in to comment.