Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
37d60363
Commit
37d60363
authored
Apr 22, 2021
by
Krish Moodbidri
Browse files
removed sigalarm code
parent
8199916a
Pipeline
#4563
canceled with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
tasks.py
View file @
37d60363
...
@@ -54,8 +54,6 @@ def celery_create_account(json, session):
...
@@ -54,8 +54,6 @@ def celery_create_account(json, session):
print
(
time
.
strftime
(
"%m-%d-%Y_%H:%M:%S"
)
+
'
\t
User '
+
username
+
' added to queue'
)
print
(
time
.
strftime
(
"%m-%d-%Y_%H:%M:%S"
)
+
'
\t
User '
+
username
+
' added to queue'
)
send_msg
(
'creating account'
,
room
)
send_msg
(
'creating account'
,
room
)
signal
.
signal
(
signal
.
SIGALRM
,
timeout_handler
)
signal
.
setitimer
(
signal
.
ITIMER_REAL
,
timeout
)
print
(
username
)
print
(
username
)
rc_util
.
add_account
(
username
,
email
,
fullname
,
reason
)
rc_util
.
add_account
(
username
,
email
,
fullname
,
reason
)
print
(
'sent account info'
)
print
(
'sent account info'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment