Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Feb 13, 2024
1 parent daea4f3 commit b17d274
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
macos_test:
name: macOS [${{ matrix.BACKEND }}]
timeout-minutes: 300
strategy:
fail-fast: false
matrix:
Expand All @@ -31,6 +32,9 @@ jobs:
id: build
run: ci/build-tests.sh

- name: Setup upterm session
uses: lhotari/action-upterm@v1

- name: Core Tests
if: steps.build.outcome == 'success' && (success() || failure())
run: ../ci/tests/run-core-tests.sh
Expand Down
3 changes: 2 additions & 1 deletion nano/node/transport/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ nano::transport::socket::socket (nano::node & node_a, endpoint_type_t endpoint_t
silent_connection_tolerance_time{ node_a.network_params.network.silent_connection_tolerance_time },
max_queue_size{ max_queue_size_a }
{
created = true;
}

nano::transport::socket::~socket ()
{
// close_internal ();
created = false;
}

void nano::transport::socket::start ()
Expand Down
2 changes: 2 additions & 0 deletions nano/node/transport/socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ class socket final : public std::enable_shared_from_this<nano::transport::socket
type_t type_m{ type_t::undefined };
endpoint_type_t endpoint_type_m;

bool created{ false };

public:
std::size_t const max_queue_size;

Expand Down

0 comments on commit b17d274

Please sign in to comment.