Skip to content

Added creation of requests and transaction after executing job#9

Open
Yisaaaa wants to merge 2 commits intodevfrom
feature/requests-transcation-api-call
Open

Added creation of requests and transaction after executing job#9
Yisaaaa wants to merge 2 commits intodevfrom
feature/requests-transcation-api-call

Conversation

@Yisaaaa
Copy link
Copy Markdown
Collaborator

@Yisaaaa Yisaaaa commented Sep 23, 2025

No description provided.

@Yisaaaa Yisaaaa requested a review from 0CottonBuds September 23, 2025 11:23
resource_cost = await get_resource_cost(client=client)
cost_ram = resource_cost["ram_gb_cost_per_second"]
cost_cpu = resource_cost["cpu_core_cost_per_second"]
total_cost = (cost_ram * execution_time) + (cost_cpu * execution_time)
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tama ba to? di ko alam kung need pa isama yung resources(cpu, ram) na gamit mismo nung worker pero afaik dinivide lang naman natin yung allocated ram / cpu diba so ig its all good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant