Make the reservation on the Disneyland app
Best chance of avoiding lines is to make a reservation.
I went during dinner time, 8 p.m. and they said walk in was about a 40 minute. Left my contact information and about 30 minutes later I received a text that my table was ready.
During off-meal times is a good idea, but if you plan on grabbing a table anyways, dont worry about it! You won't be waiting in any line, since they take your name and number and just contact you when your table is ready.
Thanks! Your answer is awaiting moderation.