forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit19bc402
Refactor DetermineSleepTime() to use milliseconds.
Since we're not using select() anymore, we don't need to bother withstruct timeval. We can work directly in milliseconds, which the latchAPI wants.Discussion:https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com1 parent5b58a35 commit19bc402
1 file changed
+18
-39
lines changedLines changed: 18 additions & 39 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1586 | 1586 |
| |
1587 | 1587 |
| |
1588 | 1588 |
| |
1589 |
| - | |
| 1589 | + | |
1590 | 1590 |
| |
1591 | 1591 |
| |
1592 | 1592 |
| |
1593 | 1593 |
| |
1594 | 1594 |
| |
1595 | 1595 |
| |
1596 | 1596 |
| |
1597 |
| - | |
1598 |
| - | |
| 1597 | + | |
| 1598 | + | |
1599 | 1599 |
| |
1600 | 1600 |
| |
1601 | 1601 |
| |
| |||
1608 | 1608 |
| |
1609 | 1609 |
| |
1610 | 1610 |
| |
| 1611 | + | |
| 1612 | + | |
1611 | 1613 |
| |
1612 |
| - | |
| 1614 | + | |
1613 | 1615 |
| |
1614 |
| - | |
1615 |
| - | |
| 1616 | + | |
| 1617 | + | |
1616 | 1618 |
| |
1617 | 1619 |
| |
1618 |
| - | |
1619 |
| - | |
1620 |
| - | |
1621 |
| - | |
1622 |
| - | |
| 1620 | + | |
1623 | 1621 |
| |
1624 | 1622 |
| |
1625 | 1623 |
| |
1626 |
| - | |
1627 |
| - | |
1628 |
| - | |
1629 |
| - | |
1630 |
| - | |
| 1624 | + | |
1631 | 1625 |
| |
1632 | 1626 |
| |
1633 | 1627 |
| |
| |||
1665 | 1659 |
| |
1666 | 1660 |
| |
1667 | 1661 |
| |
1668 |
| - | |
1669 |
| - | |
1670 |
| - | |
1671 |
| - | |
1672 |
| - | |
1673 |
| - | |
1674 |
| - | |
1675 |
| - | |
1676 |
| - | |
1677 |
| - | |
1678 |
| - | |
1679 |
| - | |
1680 |
| - | |
1681 |
| - | |
1682 |
| - | |
1683 |
| - | |
1684 |
| - | |
1685 |
| - | |
1686 |
| - | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1687 | 1667 |
| |
| 1668 | + | |
| 1669 | + | |
1688 | 1670 |
| |
1689 | 1671 |
| |
1690 | 1672 |
| |
| |||
1743 | 1725 |
| |
1744 | 1726 |
| |
1745 | 1727 |
| |
1746 |
| - | |
1747 |
| - | |
1748 |
| - | |
1749 | 1728 |
| |
1750 | 1729 |
| |
1751 |
| - | |
| 1730 | + | |
1752 | 1731 |
| |
1753 | 1732 |
| |
1754 | 1733 |
| |
|
0 commit comments
Comments
(0)