player_queue_099
This commit is contained in:
@@ -95,7 +95,7 @@ static uint32_t _closed_index = []() {
|
||||
|
||||
static inline bool _init_async_event_queue(){
|
||||
if(!_async_queue){
|
||||
_async_queue = xQueueCreate(32, sizeof(lwip_event_packet_t *));
|
||||
_async_queue = xQueueCreate(XQUEUE_SIZE, sizeof(lwip_event_packet_t *));
|
||||
if(!_async_queue){
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -32,12 +32,21 @@ extern "C" {
|
||||
|
||||
//If core is not defined, then we are running in Arduino or PIO
|
||||
#ifndef CONFIG_ASYNC_TCP_RUNNING_CORE
|
||||
#define CONFIG_ASYNC_TCP_RUNNING_CORE -1 //any available core
|
||||
#define CONFIG_ASYNC_TCP_USE_WDT 1 //if enabled, adds between 33us and 200us per event
|
||||
#define CONFIG_ASYNC_TCP_RUNNING_CORE 0 //any available core (-1)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ASYNC_TCP_RUNNING_CORE
|
||||
#define CONFIG_ASYNC_TCP_USE_WDT 0 //if enabled, adds between 33us and 200us per event (1)
|
||||
#endif
|
||||
|
||||
#ifndef XTASK_MEM_SIZE
|
||||
#define XTASK_MEM_SIZE 8192 / 2
|
||||
#endif
|
||||
|
||||
#ifndef XQUEUE_SIZE
|
||||
#define XQUEUE_SIZE 128 // (32)
|
||||
#endif
|
||||
|
||||
class AsyncClient;
|
||||
|
||||
#define ASYNC_MAX_ACK_TIME 5000
|
||||
|
||||
Reference in New Issue
Block a user