Remove hardcoded magic timer for Digital Ocean installation #250

Open
opened 2023-07-28 06:48:11 +03:00 by NaiJi · 0 comments
Collaborator

After we request for a droplet from Digital Ocean, we do not get to access it immediately, usually it takes up to a minute of two, which is bad to rely on magically.

int attempts = 0;
while (attempts < 10 && ipv4 == null) {
  await Future.delayed(const Duration(seconds: 20));
 . . . 
}

Need to come up with a way of asking for a status from Digital Ocean itself

After we request for a droplet from Digital Ocean, we do not get to access it immediately, usually it takes up to a minute of two, which is bad to rely on magically. ```dart int attempts = 0; while (attempts < 10 && ipv4 == null) { await Future.delayed(const Duration(seconds: 20)); . . . } ``` Need to come up with a way of asking for a status from Digital Ocean itself
NaiJi added the
Refactor
label 2023-07-28 06:48:11 +03:00
NaiJi self-assigned this 2023-07-28 06:48:11 +03:00
NaiJi added the
Priority
Low
label 2023-08-03 08:21:42 +03:00
NaiJi removed their assignment 2023-11-22 13:35:32 +02:00
NaiJi added the
Severity
Low
label 2023-11-30 09:52:32 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#250
There is no content yet.