diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-01-23 10:52:49 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-01-23 10:52:49 +0700 |
| commit | 4bc68435bc20d7da0f38bd2370057481cb995584 (patch) | |
| tree | cfe51565a46fc43fe5d674a65be0b57b9555620f /indoteknik_custom/models | |
| parent | c54083f55d4d1990d8325fff063896b3bc0f6fb2 (diff) | |
add dynamic limit for new product
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/user_activity_log.py | 2 |
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 |
