Fixed Syntax with CP_ASYNC_CTX_BUCKETS

This commit is contained in:
Granyaa
2026-01-15 11:22:42 +02:00
parent c57fab661c
commit b1502d7c46
2 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
#include "nano_attachment_common.h" #include "nano_attachment_common.h"
#include "nano_initializer.h" #include "nano_initializer.h"
#define CP_ASYNC_CTX_BUCKETS 2048 ///< Hash table buckets for better distribution
AttachmentVerdictResponse NanoAsyncFindResponse(NanoAttachment *attachment, SessionID session_id); AttachmentVerdictResponse NanoAsyncFindResponse(NanoAttachment *attachment, SessionID session_id);
NanoCommunicationResult NanoAsyncAddResponse(NanoAttachment *attachment, SessionID session_id, AttachmentVerdictResponse *response); NanoCommunicationResult NanoAsyncAddResponse(NanoAttachment *attachment, SessionID session_id, AttachmentVerdictResponse *response);

View File

@@ -22,6 +22,7 @@
#include "nano_attachment_common.h" #include "nano_attachment_common.h"
#include "shmem_ipc_2.h" #include "shmem_ipc_2.h"
#include "nano_attachment_bucket.h"
#define LOGGING_DIRECTORY_PATH "/var/log/nano_attachment" ///< Default logging directory path. #define LOGGING_DIRECTORY_PATH "/var/log/nano_attachment" ///< Default logging directory path.
#define LOGGING_FILE_NAME "nano_attachment" ///< Default logging file name. #define LOGGING_FILE_NAME "nano_attachment" ///< Default logging file name.