Skip to content
Snippets Groups Projects
Commit bb841e7d authored by Merov Linden's avatar Merov Linden
Browse files

MAINT-2301 : Fixed : Ignoring 499 timeout errors on POST (safe).

parent 677f65b3
No related branches found
No related tags found
No related merge requests found
...@@ -138,6 +138,16 @@ namespace LLMarketplaceImport ...@@ -138,6 +138,16 @@ namespace LLMarketplaceImport
llinfos << " SLM POST timer: " << slmPostTimer.getElapsedTimeF32() << llendl; llinfos << " SLM POST timer: " << slmPostTimer.getElapsedTimeF32() << llendl;
} }
// MAINT-2301 : we determined we can safely ignore that error in that context
if (status == MarketplaceErrorCodes::IMPORT_JOB_TIMEOUT)
{
if (gSavedSettings.getBOOL("InventoryOutboxLogging"))
{
llinfos << " SLM POST : Ignoring time out status and treating it as success" << llendl;
}
status = MarketplaceErrorCodes::IMPORT_DONE;
}
if (status >= MarketplaceErrorCodes::IMPORT_BAD_REQUEST) if (status >= MarketplaceErrorCodes::IMPORT_BAD_REQUEST)
{ {
if (gSavedSettings.getBOOL("InventoryOutboxLogging")) if (gSavedSettings.getBOOL("InventoryOutboxLogging"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment