Skip to content

Commit

Permalink
Merge pull request #519 from ShubhamMewara/main
Browse files Browse the repository at this point in the history
Removed code execution
  • Loading branch information
devsargam authored Aug 17, 2024
2 parents 4bd5e64 + 15d789c commit b087482
Show file tree
Hide file tree
Showing 64 changed files with 129 additions and 3,446 deletions.
11 changes: 2 additions & 9 deletions apps/web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@ GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="NEXTAUTH_SECRET"
NEXT_PUBLIC_JUDGE0_API_URL="http://localhost:2358"
CODE_SUBMISSION_RATE_LIMIT_COUNT=5 # Nums of submission allowed in the interval
CODE_SUBMISSION_RATE_LIMIT_INTERVAL=60000 #Interval in milliseconds (1 minute)
CODE_SUBMISSION_BACKOFF_DELAY=1000 # delay in ms
CODE_SUBMISSION_BACKOFF_MAX_RETRIES=5 # delay in ms


GOOGLEAI_API_KEY=

QDRANT_API_KEY=
QDRANT_URL=
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported

CACHE_EXPIRE=1800 # expiration time of the cache memory
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported
CACHE_EXPIRE=1800 # expiration time of the cache memory
29 changes: 0 additions & 29 deletions apps/web/app/admin/code/[problemId]/page.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions apps/web/app/api/code/submission/[submissionId]/route.ts

This file was deleted.

115 changes: 0 additions & 115 deletions apps/web/app/api/code/submission/route.ts

This file was deleted.

51 changes: 0 additions & 51 deletions apps/web/app/api/code/test/route.ts

This file was deleted.

83 changes: 0 additions & 83 deletions apps/web/app/profile/submissions/page.tsx

This file was deleted.

Loading

0 comments on commit b087482

Please sign in to comment.