Skip to content

Commit

Permalink
chore: add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed May 19, 2024
1 parent bb519ec commit 04d3ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/dashboard/new-deployment/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export default function NewDeployment() {
onOpen: onWsOpen,
onMessage: onWsMessage,
onClose: () => {
// TODO: handle close even when deployment is not completed
console.log("ws close");
},
onError: onWsError,
Expand Down
2 changes: 2 additions & 0 deletions src/backend/src/api/services/akash_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ impl AkashService {
Ok((tx_hash, provider.host_uri))
}

/// TODO: if closing the deployment fails, we should at least try again.
/// Otherwise we don't get the Akash tokens back from the escrow.
pub async fn close_deployment(&self, dseq: u64) -> Result<String, String> {
let config = self.get_config();

Expand Down

0 comments on commit 04d3ef9

Please sign in to comment.