Skip to content

Commit

Permalink
Merge pull request #2668 from peterbe/upgrade-dependencies-and-fix-bl…
Browse files Browse the repository at this point in the history
…ogcomment-indexing

Upgrade dependencies and fix blogcomment indexing
  • Loading branch information
peterbe authored Feb 10, 2025
2 parents a8fe896 + cab52df commit c865ef8
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion peterbecom/plog/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def reindex_blog_items():
crontab(hour="0", minute="3")
)
def reindex_blog_comments():
count, took, index_name = BlogItem.index_all_blogcomments()
count, took, index_name = BlogComment.index_all_blogcomments()
print(
f"Indexed {count:,} blog comments into {index_name!r} "
f"in {took:.1f} seconds ({timezone.now()})"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies = [
"ipaddress==1.0.23",
"jsonschema==4.23.0",
"keycdn==0.4.3",
"lxml==5.3.0",
"lxml==5.3.1",
"markdown==3.7",
"mock==5.1.0",
"mozilla-django-oidc==4.0.1",
Expand All @@ -63,7 +63,7 @@ dependencies = [
"requests-mock==1.12.1",
"requests==2.32.3",
"rollbar==1.1.2",
"ruff==0.9.4",
"ruff==0.9.6",
"sorl-thumbnail==12.11.0",
"sql-metadata==2.15.0",
"tomli==2.2.1",
Expand Down
Loading

0 comments on commit c865ef8

Please sign in to comment.