Skip to content

Commit

Permalink
HDX-9234 stop tracking metadata download events
Browse files Browse the repository at this point in the history
  • Loading branch information
ccataalin committed Oct 10, 2023
1 parent 0c8ff83 commit 4ad20f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext-hdx_package/ckanext/hdx_package/views/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def package_metadata(id):
# process fields
metadata = _process_dataset_metadata(metadata, metadata_fields, file_format)

analytics.MetadataDownloadAnalyticsSender(file_format=file_format, package_id=id).send_to_queue()
# analytics.MetadataDownloadAnalyticsSender(file_format=file_format, package_id=id).send_to_queue()

buf = io.StringIO()
if 'json' in file_format:
Expand Down Expand Up @@ -458,7 +458,7 @@ def resource_metadata(id, resource_id):
# process fields
metadata = _process_resource_metadata(metadata, metadata_fields, file_format)

analytics.MetadataDownloadAnalyticsSender(file_format=file_format, resource_id=resource_id).send_to_queue()
# analytics.MetadataDownloadAnalyticsSender(file_format=file_format, resource_id=resource_id).send_to_queue()

buf = io.StringIO()
if 'json' in file_format:
Expand Down

0 comments on commit 4ad20f4

Please sign in to comment.