Skip to content

Commit 7663d22

Browse files
Merge pull request #5 from greenpant/patch-4
修改Django版本
2 parents 0cc3205 + f2dc045 commit 7663d22

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ libraries:
2424
- name: blueapps[opentelemetry]
2525
version: 4.4.7
2626
- name: Django
27-
version: 3.2.4
27+
version: 3.2.25
2828
- name: requests
2929
version: 2.22.0
3030
- name: celery

apps/backend/components/collections/agent_new/install.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ def _schedule(self, data, parent_data, callback_data=None):
628628

629629
params_list = [
630630
{
631-
"host": common_data.host_id_obj_map[common_data.sub_inst_id__host_id_map[sub_inst_id]],
632631
"sub_inst_id": sub_inst_id,
633632
"success_callback_step": success_callback_step,
634633
}
@@ -689,7 +688,7 @@ def _schedule(self, data, parent_data, callback_data=None):
689688
return True
690689

691690
polling_time = data.get_one_of_outputs("polling_time")
692-
if polling_time + POLLING_INTERVAL > self.service_polling_timeout:
691+
if polling_time + POLLING_INTERVAL > POLLING_TIMEOUT:
693692
self.move_insts_to_failed(left_scheduling_sub_inst_ids, _("安装超时"))
694693
self.finish_schedule()
695694
data.outputs.polling_time = polling_time + POLLING_INTERVAL

0 commit comments

Comments
 (0)