Skip to content

Commit 295c23d

Browse files
committed
Finaised the functionality that creates both the gojson files and pcodes dict, also added functionality that will retun a faild task when run for easy debugging
1 parent c1e4403 commit 295c23d

14 files changed

+799
-1275508
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,8 @@ dags/static_data/downloaded_data
170170
dags/static_data/credentials.json
171171
dags/static_data/railways
172172
dags/static_data/border_crossing
173+
dags/static_data/pcodes
174+
dags/static_data/subnational_jsons
175+
Subnational_jsons
173176
AllAdmnBoundaries*
174177
AllAdminBoundaries*

Diff for: airflow-webserver.pid

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
34

Diff for: airflow.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ donot_pickle = True
145145
#
146146
# Variable: AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT
147147
#
148-
dagbag_import_timeout = 30.0
148+
dagbag_import_timeout = 300
149149

150150
# Should a traceback be shown in the UI for dagbag import errors,
151151
# instead of just the exception message
@@ -164,7 +164,7 @@ dagbag_import_error_traceback_depth = 2
164164
#
165165
# Variable: AIRFLOW__CORE__DAG_FILE_PROCESSOR_TIMEOUT
166166
#
167-
dag_file_processor_timeout = 50
167+
dag_file_processor_timeout = 300
168168

169169
# The class to use for running task instances in a subprocess.
170170
# Choices include StandardTaskRunner, CgroupTaskRunner or the full import path to the class
@@ -283,7 +283,7 @@ default_task_execution_timeout =
283283
#
284284
# Variable: AIRFLOW__CORE__MIN_SERIALIZED_DAG_UPDATE_INTERVAL
285285
#
286-
min_serialized_dag_update_interval = 30
286+
min_serialized_dag_update_interval = 300
287287

288288
# If True, serialized DAGs are compressed before writing to DB.
289289
# Note: this will disable the DAG dependencies view

Diff for: dags/countries_to_process.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Antigua-and-Barbuda
2+
Azerbaijan
3+
Eswatini

Diff for: dags/generate_pcode_json_file.py

-26
This file was deleted.

0 commit comments

Comments
 (0)