fix: Bot activity tracking performance - 523x faster (3000ms to 5.74ms)
- Fixed BotActivityTracker configuration key mismatch (LittleShop:BaseUrl -> LittleShop:ApiUrl) - Resolved DNS resolution failures causing 3-second timeouts on every activity tracking call - Updated fallback from Docker hostname (littleshop:5000) to localhost (localhost:5000) - Added comprehensive E2E integration test script for LittleShop + TeleBot + SilverPay - Documented all test results with performance metrics and troubleshooting steps Performance Improvement: 523x faster (from 3000ms+ to 5.74ms average) Remaining Issue: SilverPay payment gateway not accessible at http://10.0.0.51:5500 Payment creation fails with HTTP 404 - requires infrastructure investigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ namespace TeleBot.Services
|
||||
_httpClient = httpClient;
|
||||
_configuration = configuration;
|
||||
_logger = logger;
|
||||
_littleShopUrl = configuration["LittleShop:BaseUrl"] ?? "http://littleshop:5000";
|
||||
_littleShopUrl = configuration["LittleShop:ApiUrl"] ?? "http://localhost:5000";
|
||||
}
|
||||
|
||||
public async Task TrackActivityAsync(
|
||||
|
||||
Reference in New Issue
Block a user