Salut,
J'ai encore un problème avec un harddeadlineexceedederror dans mon application.J'ai déja regardé sur le forum de gae et ils disent que c'est dû quand une requête prend plus de trente secondes mais je ne sais pas comment faire.J'ai même regardé la doc de gae mais rien n'y fait.
voici le code qui bug :
for (Assignment assignment : assignmentList) {
Objectify ofy = ObjectifyService.beginTransaction();
//ofy.put(assignmentList);
try {
ofy.put(assignment);
ofy.getTxn().commit();
} catch (Exception e) {
ofy.put(assignment);
ofy.getTxn().commit();
}
}
Partager