mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-29 09:52:29 +00:00 
			
		
		
		
	Compare commits
	
		
			7 Commits
		
	
	
		
			release/v4
			...
			v3.0.2-RC1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 1527773a7a | ||
|   | f9dd5864fb | ||
|   | 20258c5885 | ||
|   | fadb7405c5 | ||
|   | 6394fee9c0 | ||
|   | 8166b75412 | ||
|   | 1063080859 | 
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -21,7 +21,7 @@ defaults: | ||||
|  | ||||
| jobs: | ||||
|   docker: | ||||
|     runs-on: ubuntu-latest | ||||
|     runs-on: ubuntu-20.04 | ||||
|     env: | ||||
|       DOCKER_REGISTRY_URL: tip-tip-wlan-cloud-ucentral.jfrog.io | ||||
|       DOCKER_REGISTRY_USERNAME: ucentral | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| cmake_minimum_required(VERSION 3.13) | ||||
| project(owsec VERSION 4.1.0) | ||||
| project(owsec VERSION 3.0.0) | ||||
|  | ||||
| set(CMAKE_CXX_STANDARD 17) | ||||
|  | ||||
|   | ||||
| @@ -9,7 +9,7 @@ fullnameOverride: "" | ||||
| images: | ||||
|   owsec: | ||||
|     repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owsec | ||||
|     tag: v4.1.0 | ||||
|     tag: v3.0.2-RC1 | ||||
|     pullPolicy: Always | ||||
| #    regcred: | ||||
| #      registry: tip-tip-wlan-cloud-ucentral.jfrog.io | ||||
|   | ||||
| @@ -107,19 +107,6 @@ namespace OpenWifi { | ||||
| 					NewMessage.partition(0); | ||||
| 					NewMessage.payload(Msg->Payload()); | ||||
| 					Producer.produce(NewMessage); | ||||
| 					if (Queue_.size() < 100) { | ||||
| 						// use flush when internal queue is lightly loaded, i.e. flush after each | ||||
| 						// message | ||||
| 						Producer.flush(); | ||||
| 					} | ||||
| 					else { | ||||
| 						// use poll when internal queue is loaded to allow messages to be sent in | ||||
| 						// batches | ||||
| 						Producer.poll((std::chrono::milliseconds) 0); | ||||
| 					} | ||||
| 				} | ||||
| 	                        if (Queue_.size() == 0) { | ||||
| 					// message queue is empty, flush all previously sent messages | ||||
| 					Producer.flush(); | ||||
| 				} | ||||
| 			} catch (const cppkafka::HandleException &E) { | ||||
| @@ -132,7 +119,6 @@ namespace OpenWifi { | ||||
| 			} | ||||
| 			Note = Queue_.waitDequeueNotification(); | ||||
| 		} | ||||
| 		Producer.flush(); | ||||
| 		poco_information(Logger_, "Stopped..."); | ||||
| 	} | ||||
|  | ||||
| @@ -338,4 +324,4 @@ namespace OpenWifi { | ||||
| 											   partitions.front().get_partition())); | ||||
| 	} | ||||
|  | ||||
| } // namespace OpenWifi | ||||
| } // namespace OpenWifi | ||||
		Reference in New Issue
	
	Block a user