File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
## 0.13.6-wip
2
2
3
3
* Require Dart 2.19.
4
+ * Setup ` dbService ` to do retries for failed requests.
4
5
5
6
## 0.13.5
6
7
Original file line number Diff line number Diff line change @@ -226,8 +226,13 @@ Future<db.DatastoreDB> _obtainDatastoreService(
226
226
grpc_datastore_impl.OAuth2Scopes ,
227
227
);
228
228
final grpcClient = _getGrpcClientChannel (endpoint, needAuthorization);
229
- final rawDatastore = grpc_datastore_impl.GrpcDatastoreImpl (
230
- grpcClient, authenticator, projectId);
229
+ final rawDatastore = datastore.Datastore .withRetry (
230
+ grpc_datastore_impl.GrpcDatastoreImpl (
231
+ grpcClient,
232
+ authenticator,
233
+ projectId,
234
+ ),
235
+ );
231
236
return db.DatastoreDB (rawDatastore, modelDB: db.ModelDBImpl ());
232
237
}
233
238
@@ -329,7 +334,8 @@ class _ClientChannelWithClientId implements grpc.ClientChannel {
329
334
Future <void > terminate () => _clientChannel.terminate ();
330
335
331
336
@override
332
- Stream <ConnectionState > get onConnectionStateChanged => _clientChannel.onConnectionStateChanged;
337
+ Stream <ConnectionState > get onConnectionStateChanged =>
338
+ _clientChannel.onConnectionStateChanged;
333
339
}
334
340
335
341
Future <String ?> _getZoneInProduction () => _getMetadataValue ('zone' );
Original file line number Diff line number Diff line change 1
1
name : appengine
2
- version : 0.13.6-wip
2
+ version : 0.13.6
3
3
description : >
4
4
Support for using Dart as a custom runtime on Google App Engine Flexible
5
5
Environment
@@ -14,7 +14,7 @@ environment:
14
14
15
15
dependencies :
16
16
fixnum : ^1.0.0
17
- gcloud : ^0.8.0
17
+ gcloud : ^0.8.10
18
18
googleapis_auth : ^1.1.0
19
19
grpc : ^3.1.0
20
20
http : ^0.13.3
You can’t perform that action at this time.
0 commit comments