Skip to content

Commit

Permalink
Merge pull request #370 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
Update DiscordAccountCheck.php
  • Loading branch information
JoshuaMicallefYBSU authored Oct 20, 2024
2 parents b436e35 + 14b7927 commit d45138b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app/Jobs/DiscordAccountCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DiscordAccountCheck implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

public $timeout = 3000;
public $timeout = 5000;

/**
* Execute the job.
Expand All @@ -34,7 +34,7 @@ class DiscordAccountCheck implements ShouldQueue
public function handle()
{
// Timeout length (seconds)
ini_set('max_execution_time', 3000);
ini_set('max_execution_time', 5000);

// Script Start Time
$start_time = Carbon::now();
Expand Down Expand Up @@ -197,12 +197,6 @@ public function handle()
// Update DB Information
$user->member_of_czqo = false;
$user->save();

$discord->sendMessageWithEmbed(
'1297517512904409099',
'NOT IN DISCORD - '.$user->fullName('FLC'),
'User is NOT in the Discord. '.$user->member_of_czqo,
);
}

}
Expand Down

0 comments on commit d45138b

Please sign in to comment.