There was a debate between the developers today talking about why you should use waits in your code.
A wait is where you get the code to wait for a period of time before the code continues.
The reason you might do this is if you created a primary key using a date field. When you try to insert a lot of rows into the database the primary key will be the same because a computer can insert more than one record per millisecond.
So sometimes seeing a wait in the code could be a sign of problems ahead and you could find the primary key is a date.
To avoid potential problems with primary keys it’s better to use an Int or some kind of simple sequential counter.