Updated On YABs delete foreget serevrs cache

This commit is contained in:
cp6 2022-03-05 14:14:15 +11:00
parent dbb5225d45
commit d129e966b9

View File

@ -8,6 +8,7 @@ use App\Process;
use App\Models\DiskSpeed;
use App\Models\NetworkSpeed;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
@ -108,6 +109,9 @@ class YabsController extends Controller
'has_yabs' => 1
]);
Cache::forget('all_active_servers');//all servers cache
Cache::forget('non_active_servers');//all servers cache
return redirect()->route('yabs.index')
->with('success', 'Success inserting YABs');
}