Skip to content

Ochuikin messenger - #47

Open
ochuikin wants to merge 24 commits into
arhangeldim:masterfrom
ochuikin:ochuikin-messenger
Open

Ochuikin messenger#47
ochuikin wants to merge 24 commits into
arhangeldim:masterfrom
ochuikin:ochuikin-messenger

Conversation

@ochuikin

Copy link
Copy Markdown

No description provided.

ExecutorService bossExec = new OrderedMemoryAwareThreadPoolExecutor(1,
MAX_CHANNEL_MEMORY_SIZE, MAX_TOTAL_MEMORY_SIZE, KEEP_ALIVE_TIME, TimeUnit.SECONDS);

ExecutorService ioExec = new OrderedMemoryAwareThreadPoolExecutor(4 /* число рабочих потоков */,

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 лучше вынести в константы, используется в нескольких местах

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants