agregar TODOs

This commit is contained in:
Cat /dev/Nulo 2023-06-23 17:40:30 -03:00
parent d876b46145
commit a46cc0d308

View file

@ -80,6 +80,7 @@ class FirecrackerInstance {
*/
static async run(opts) {
const self = new FirecrackerInstance();
// TODO: retry until success
await delay(15);
await self.request("PUT", "/boot-source", {
@ -100,6 +101,7 @@ class FirecrackerInstance {
// API requests are handled asynchronously, it is important the configuration is
// set, before `InstanceStart`.
// TODO: avoid race condition somehow? this is the way of the firecracker quickstart guide. check firectl/go-sdk
await delay(15);
await self.request("PUT", "/actions", {