Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hub cleanup - Remove mqr #632

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion eventstore/migrations/0065_whatsapptemplatesendstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("eventstore", "0064_openhimqueue_timestamp"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("eventstore", "0065_whatsapptemplatesendstatus"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("eventstore", "0066_whatsapptemplatesendstatus_status"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
(
"eventstore",
Expand Down
19 changes: 0 additions & 19 deletions eventstore/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,25 +510,6 @@ def post_random_mc_contacts_to_slack_channel():
return post_random_contacts_to_slack_channel()


@app.task(
autoretry_for=(RequestException, SoftTimeLimitExceeded, TembaHttpError),
retry_backoff=True,
max_retries=15,
acks_late=True,
soft_time_limit=10,
time_limit=15,
)
def post_random_mqr_contacts_to_slack_channel():
if not settings.MQR_STUDY_ACTIVE:
return
study_start_date = datetime.strptime(
settings.MQR_STUDY_START_DATE, "%Y-%m-%d"
).date()
return post_random_contacts_to_slack_channel(
"MQR", study_start_date, "MQR active contacts"
)


def post_random_contacts_to_slack_channel(
contact_type="MomConnect", start_date=None, group=None
):
Expand Down
Empty file removed mqr/__init__.py
Empty file.
9 changes: 0 additions & 9 deletions mqr/admin.py

This file was deleted.

5 changes: 0 additions & 5 deletions mqr/apps.py

This file was deleted.

31 changes: 0 additions & 31 deletions mqr/migrations/0001_initial.py

This file was deleted.

216 changes: 0 additions & 216 deletions mqr/migrations/0002_baselinesurveyresult.py

This file was deleted.

22 changes: 0 additions & 22 deletions mqr/migrations/0003_auto_20220322_0539.py

This file was deleted.

32 changes: 0 additions & 32 deletions mqr/migrations/0004_auto_20220322_0733.py

This file was deleted.

17 changes: 0 additions & 17 deletions mqr/migrations/0005_auto_20220322_1350.py

This file was deleted.

Loading
Loading