Skip to content

Commit

Permalink
refixing changes after the reverts were completed
Browse files Browse the repository at this point in the history
  • Loading branch information
ddmatthe committed Jan 27, 2022
1 parent bf54fb6 commit 90df8e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ext/custom_vcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ cmake_minimum_required (VERSION 3.10)
project(custom_vcl_application)
find_package( OpenCV REQUIRED )

include_directories(. ../../../vdms/src ../../../vdms/include/ ../../../vdms/src/vcl /usr/include/jsoncpp ${OpenCV_INCLUDE_DIRS})
include_directories(. ../../src ../../include/ ../../src/vcl /usr/include/jsoncpp ${OpenCV_INCLUDE_DIRS})
add_executable(custom_vcl custom_vcl_process.cc )
target_link_libraries(custom_vcl vcl tiledb jsoncpp ${OpenCV_LIBS})
4 changes: 2 additions & 2 deletions src/vdms.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void* start_autodelete_thread(void* server)
int main(int argc, char **argv)
{
pthread_t request_thread, autodelete_thread;
int request_thread_flag, autodelte_thread_flag;
int request_thread_flag, autodelete_thread_flag;

printf("VDMS Server\n");

Expand All @@ -83,7 +83,7 @@ int main(int argc, char **argv)

//create a thread for processing request and a thread for the autodelete timer
request_thread_flag = pthread_create(&request_thread, NULL, start_request_thread, (void*)( &server ) );
autodelte_thread_flag = pthread_create(&autodelete_thread, NULL, start_autodelete_thread, (void*)( &server ) );
autodelete_thread_flag = pthread_create(&autodelete_thread, NULL, start_autodelete_thread, (void*)( &server ) );
pthread_join(request_thread, NULL);
pthread_join(autodelete_thread, NULL);

Expand Down
4 changes: 2 additions & 2 deletions utils/include/comm/Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class Connection

const unsigned MAX_PORT_NUMBER = 65535;
const unsigned MAX_RETRIES = 100;
const unsigned DEFAULT_BUFFER_SIZE = (32*1024*1024); // VDMS ORIGINAL DEFAULT SIZE
const unsigned MAX_BUFFER_SIZE = (1024*1024*1024); // 256MB for ATTD & 1GB Video Curation
const unsigned DEFAULT_BUFFER_SIZE = (32*1024*1024);
const unsigned MAX_BUFFER_SIZE = (1024*1024*1024);

std::basic_string<uint8_t> buffer_str;

Expand Down

0 comments on commit 90df8e4

Please sign in to comment.