summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-23 10:52:49 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-23 10:52:49 +0700
commit4bc68435bc20d7da0f38bd2370057481cb995584 (patch)
treecfe51565a46fc43fe5d674a65be0b57b9555620f /indoteknik_custom/models
parentc54083f55d4d1990d8325fff063896b3bc0f6fb2 (diff)
add dynamic limit for new product
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/user_activity_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/user_activity_log.py b/indoteknik_custom/models/user_activity_log.py
index 16084037..32b389a1 100755
--- a/indoteknik_custom/models/user_activity_log.py
+++ b/indoteknik_custom/models/user_activity_log.py
@@ -71,7 +71,7 @@ class UserActivityLog(models.Model):
('url', 'ilike', 'https://indoteknik.co%/shop/product/%'),
('create_date', '>', delta_time),
('url', 'not ilike', 'shopping'),
- ], limit=4000)
+ ], limit=1000)
for activity_log in activity_logs:
_logger.info(activity_log.url)
strip_index = i = 0