3s2ng Posted November 28, 2011 Share Posted November 28, 2011 Hi Freaks, We got a penny auction but currently we are having some issues with bids happens exactly on the same time. Please refer to the attached image. The scenario is as follow. - Manual Bidder bids and 20 secs will be added to the time remaining and bid price increases. - At the same time Auto Bidders bids but the 20 secs is not added because when the script checks the previous time it is still from the previous bidder not the manual bid that just happens at the same time and also the prices does not increases. - With 2 bidders, 40 secs should be added to the time remaining. Is there are way to avoid such this issue to happen? Thanks, Mark [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/251938-penny-auction-issue/ Share on other sites More sharing options...
tomfmason Posted November 28, 2011 Share Posted November 28, 2011 without seeing the code it is really hard to tell you were the problem is. This is were solid unit testing would have been a major help imo Quote Link to comment https://forums.phpfreaks.com/topic/251938-penny-auction-issue/#findComment-1291756 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.