Skip to content

Commit b087482

Browse files
authored
Merge pull request #519 from ShubhamMewara/main
Removed code execution
2 parents 4bd5e64 + 15d789c commit b087482

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+129
-3446
lines changed

apps/web/.env.example

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@ GOOGLE_CLIENT_ID=""
44
GOOGLE_CLIENT_SECRET=""
55
NEXTAUTH_URL="http://localhost:3000"
66
NEXTAUTH_SECRET="NEXTAUTH_SECRET"
7-
NEXT_PUBLIC_JUDGE0_API_URL="http://localhost:2358"
8-
CODE_SUBMISSION_RATE_LIMIT_COUNT=5 # Nums of submission allowed in the interval
9-
CODE_SUBMISSION_RATE_LIMIT_INTERVAL=60000 #Interval in milliseconds (1 minute)
10-
CODE_SUBMISSION_BACKOFF_DELAY=1000 # delay in ms
11-
CODE_SUBMISSION_BACKOFF_MAX_RETRIES=5 # delay in ms
12-
137

148
GOOGLEAI_API_KEY=
15-
169
QDRANT_API_KEY=
1710
QDRANT_URL=
11+
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported
1812

19-
CACHE_EXPIRE=1800 # expiration time of the cache memory
20-
VECTOR_DIMENSION=768 # Upto 768 dimensions are supported
13+
CACHE_EXPIRE=1800 # expiration time of the cache memory

apps/web/app/admin/code/[problemId]/page.tsx

Lines changed: 0 additions & 29 deletions
This file was deleted.

apps/web/app/api/code/submission/[submissionId]/route.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/web/app/api/code/submission/route.ts

Lines changed: 0 additions & 115 deletions
This file was deleted.

apps/web/app/api/code/test/route.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

apps/web/app/profile/submissions/page.tsx

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)