Skip to content

Commit acf60a1

Browse files
committed
Enhance recommendation service with new gRPC endpoints and refactor code
- Added `get_ml_feed_clean_v1` and `get_ml_feed_nsfw_v1` methods to `video_recommendation.proto` and corresponding implementations in `video_recommendation_pb2_grpc.py`. - Updated `feed_rec_server.py` to integrate new clean and NSFW feed functionalities. - Refactored existing code for improved readability and consistency, including formatting changes and code organization. - Introduced `ping_local_report_filtered.py` and `ping_server_report_endpoint.py` for testing new report-filtered endpoints. - Adjusted BigQuery client logging and query handling for better debugging.
1 parent dea3a1c commit acf60a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python_src/recommendation_service/feed_rec_server.py

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
_PROCESS_COUNT = multiprocessing.cpu_count()
3535
# _PROCESS_COUNT = 1 # TODO: stage change book mark
3636
_THREAD_CONCURRENCY = 10 # heuristic
37+
# _THREAD_CONCURRENCY = 1 # heuristic TODO: stage change book mark
3738
_BIND_ADDRESS = "[::]:50059" # Fixed bind address
3839

3940

0 commit comments

Comments
 (0)