Skip to content

Commit

Permalink
feat: update configs files
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHkrg committed Oct 2, 2024
1 parent 5539360 commit 230ce22
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions config/laraquest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

return [
/*
* The type of update received.
* 1 - sync
* 2 - global (default)
* 3 - openswoole
* (Required)
*/
'update_type' => 'global',

/*
* The Request submission type.
* 1 - curl (default)
* 2 - no_response_curl
* (Required)
*/
'default_mode' => 'curl',

/*
* Long Polling
* (Required on polling mode)
*/
'polling' => [
'timeout' => 100,
'sleep_interval' => 0.5,
'limit' => 100,
'allow_updates' => ["*"]
],
];

0 comments on commit 230ce22

Please sign in to comment.