Remove todo

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-05-06 22:03:21 -07:00
parent 27045c11c2
commit 771dba1515

View File

@@ -8,11 +8,6 @@ from board.models import Post, Board
__all__ = ("BoardView", "PostView")
# TODO bump order calculation. this is kind of expensive and should *really*
# only be run every few seconds rather than every post.
# This is a scale problem and not a high priority.
def get_client_ip(request):
"Get the IP address of a client-side request. Shamelessly copy/pasted from StackOverflow."
x_forwarded_for = request.META.get("HTTP_X_FORWARDED_FOR")